Hello everyone thank you in advence for any help you can give me.
I am using CodeIgniter and bootstrap-wysiwyg. I used it with locally in WAMP and it worked fine but now that I have place on a live server it does not. I get error
Uncaught Reference error: $ is not defined
$(function(){
function initToolbarBootstrapBindings() {
var fonts = ['Serif', 'Sans', 'Arial', 'Arial Black', 'Courier',
'Courier New', 'Comic Sans MS', 'Helvetica', 'Impact', 'Lucida Grande', 'Lucida Sans', 'Tahoma', 'Times',
'Times New Roman', 'Verdana'],
fontTarget = $('[title=Font]').siblings('.dropdown-menu');
$.each(fonts, function (idx, fontName) {
fontTarget.append($('<li><a data-edit="fontName ' + fontName +'" style="font-family:\''+ fontName +'\'">'+fontName + '</a></li>'));
});
any advice? I am new to jQuery, but I try to put variable and I still get the same error thanks again.
EddieD
<head>
? – Bad Wolf Jun 13 '13 at 17:49