Try livequery

On Jun 25, 9:36 am, 晃晃悠悠~~~ <[EMAIL PROTECTED]> wrote:
> hi,all
>     I bind some events to a list just like below:
>
>       $(document).ready(function(){
>              $("oUL > li").click(function(){
>                     // do something here
>              });
>       });
>
> but now I need to add sub nodes to the oUL dynamically, the new
> elements(li nodes) do nothing when I click it, Anyone who can give me
> some idea on how to solve it, I'm appreciated.
>
> Thanks!

Reply via email to