javascript - .live() doesn't work in JQuery 1.4.4 -


i have problem. in last project used jquery 1.3.2, i'm using latest version of jquery (it's 1.4.4). after i've added new elements in dom add listener of events on class:

example:

$(".pushme").live("click",function(ev){     alert(ev.target.id); }); 

it works in 1.3.2, doesn't work in 1.4.4.

in firebug see this:

q.replace not function p.removeattribute("id")}}return g(m,p,...[p]).length>0}})();(function(){var g= 

could me? read documents jquery.com, didn't me.

are sure, error message generated live-function? error message says, "replace" not function, has nothing posted code. please check out exact line of code error occurs or search keyword "replace" in project.

perhaps, there javascript error before code executed , in case, live-function never called.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -