Using jquery, all of my other livequery functions work fine, i am getting an error for this particular one...
$("[class*='welcome']").livequery("click", function(e){ etc.......
The error is:
Uncaught TypeError: Object #<Object> has no method 'livequery'
is it because of the wildcard? or a general jquery error?
Thank you
If what you want to do is
Then this is the appropriate syntax:
jQuery's
live()
function used to be the way to go, but it has been deprecated in favor ofon()
as of jQuery 1.7.Demo here: http://jsfiddle.net/zNXXk/