[jQuery] Re: Accessing Elements after adding them with Append

2009-09-03 Thread Daniel
Hi mkmanning, works like a charm, thanks a lot! :) Daniel On 2 Sep., 18:00, mkmanning wrote: > Use .live() > > http://docs.jquery.com/Events/live#typefn > > On Sep 2, 1:51 am, Daniel wrote: > > > > > Hi There, > > > I'm having trouble accessing some Elements with jQuery after I created > > th

[jQuery] Re: Accessing Elements after adding them with Append

2009-09-02 Thread mkmanning
Use .live() http://docs.jquery.com/Events/live#typefn On Sep 2, 1:51 am, Daniel wrote: > Hi There, > > I'm having trouble accessing some Elements with jQuery after I created > them and added them to the HTML. I want to add some Checkboxes to my > Site as soon as the user clicks another Checkbo

[jQuery] Re: Accessing Elements after adding them with Append

2009-09-02 Thread rupak mandal
hi daniel, You have to bind click function after the element was append to DOM. But there is a problem Jquery support multiple binding. So you have to first unbind the click function, then append an element to the DOM and then bind click function. I think this code will help you -: $("div#categor