jquery live is not a function

after jquery 1.9 use on instead live function

from

$('#div').live('change',function(){
       ...
});

to

$('body').on('change','#div',function(){
     ...
});

reference http://stackoverflow.com/questions/14354040/jquery-1-9-live-is-not-a-function

Related posts:

This entry was posted in knowledge. Bookmark the permalink.