Bugreport:

<div id="lblock">
<p>does not work</p>
    <input type="button" class="lcmd" value="Button" />
    <input type="button" class="lcmd" value="Button" />
</div>

<div id="block">
<p>work</p>
    <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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to