[jQuery] Re: How to auto bind event to a new created element?

2008-06-25 Thread Richard D. Worth
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 ev

[jQuery] Re: How to auto bind event to a new created element?

2008-06-25 Thread Gordon
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 > }); > }); > > bu