See
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
for more info and options.
- Richard
2008/6/25 Gordon <[EMAIL PROTECTED]>:
>
> 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!
>