Thank you. I added LiveQuery but get the error message in Firebug:

jQuery(".inputsubmit").livequery is not a function

my code:
                        jQuery(document).ready(function(){
                                jQuery(".inputsubmit").livequery('click', 
function(event){
                                var id = 'reply_form_' + this.id;
                                jQuery("#"+id).toggle();
                        });
        });


On Sep 5, 10:59 am, "Ryan Zec" <[EMAIL PROTECTED]> wrote:
> If you use the livequery plugin, it will apply trigger events like
> click on element that are not available when the dom is first loaded.
>
> On Fri, Sep 5, 2008 at 10:49 AM, lukas <[EMAIL PROTECTED]> wrote:
>
> > My PHP code creates a button which doesn't exist when my page is
> > loaded.  Hence, the according jQuery command doesn't work. How can I
> > fix this? Thank you!

Reply via email to