Javascript Error : $ is not a function -


i facing weird problem here :

in firebug see error :

$ not function

_handleevent() in pro.js   e = load  var handlers = this.events[e.type], el = $(this); 

the full function defined follows :

_handleevent : function(e) {  var returnvalue = true;  e = e || event._fixevent(window.event); var handlers = this.events[e.type], el = $(this); (var in handlers) {     el.$$handleevent = handlers[i];     if (el.$$handleevent(e) === false) returnvalue = false; } return returnvalue; } 

can guys kindly me out here , figure out why error being thrown here. it's not related jquery, guess.

note : gives error : $(this ) not function in ie

i think you've either not loaded jquery correctly or executing code before inclusion of jquery. or might using jquery's noconflict-mode, http://api.jquery.com/jquery.noconflict/, in case you'd need replace $() jquery().

also, make sure execute code either @ document load or, better, when jquery loaded:

$(document).ready(function() {   // code goes here }); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -