Bug in selector jQuery 1.3b1
Bugreport:
<div id="lblock">
does not work
<input type="button" class="lcmd" value="Button" />
<input type="button" class="lcmd" value="Button" />
</div>
<div id="block">
work
<input type="button" class="lcmd" value="Button" />
<input type="button" class="lcmd" value="Button" />
</div>
<script type="text/javascript">
$(document).ready(
function() {
//does not work
$('#lblock input.lcmd').live("click", function() {
alert("hello live input!");
});
//work
$('#block input.lcmd').bind("click", function() {
alert("hello bind input!");
});
});
</script>
Can you comment?
example - http://habradigest.ru/garbage/jq/HTMLPage3.htm