[jQuery] Re: click a button returned by ajax

2009-09-09 Thread Carlos Santos
function live was what I needed. But now another question. it's possible to make a POSTwith AJAX, via a button also created with AJAX, and store the return in a CONTAINER that does not exist in the DOM, but must exist when the POST is done? I.E. /*Action on a button that still exist in the

[jQuery] Re: click a button returned by ajax

2009-09-08 Thread MorningZ
There's no reason why this shouldn't work... remember you cannot wire an event to something that isn't on the DOM unless you: (1) use the .live() functionality of jQuery (http://docs.jquery.com/ Events/live#typefn) or (2) do it after it is in the DOM, which my code shows below $.post(

[jQuery] Re: click a button returned by ajax

2009-09-08 Thread rupak mandal
Hi carlos try to use http://docs.jquery.com/Events/live thanks Rupak On Tue, Sep 8, 2009 at 8:54 PM, Carlos Santos carloeasan...@gmail.comwrote: I have a button that do appear on my page through a post with jquery: $.post( 'more_item.php',{