$j(".context-menu").livequery(function(){
alert('found');
});
This was working until a couple of days ago. It just suddenly stopped. On addition of new elements with class 'context-menu' nothing happens.
Although in firebug if I run the above statement, its found and an alert is thrown.
Any idea what the problem could be ?
HTML:
<html>
<head>
<script type='text/javascript' src='/scripts/prototype.js'></script>
<script type='text/javascript' src='/scripts/jquery-1.4.2.js'></script>
<script type='text/javascript'>
var $j = jQuery.noConflict();
</script>
<script type='text/javascript' src='/scripts/jquery.livequery.js'></script>
</head>
<body>
<div class='fun'>fun</div>
</body>