[jQuery] Re: jquery/livequery assign behaviour to element by class

2008-09-19 Thread John Wynne
Ishamel, Thanks so much for responding to my post: I am having trouble getting your solution to work - I included a sample of the code I am using. Just an FYI I am using ColdFusion's new ajaxproxy Whatever insights you have would be appreciated. code below:

[jQuery] Re: jquery/livequery assign behaviour to element by class

2008-09-17 Thread onmountain
Hi Brandon, I tried to do that, but it breaks the ajax effect - clicking submit just does an HTML post to the server php program: $('.deleteform').livequery('submit', function() { //$('.deleteform').submit(function() { var gthis = this; var delformData

[jQuery] Re: jquery/livequery assign behaviour to element by class

2008-09-16 Thread onmountain
Can I use livequery with ajax? For instance, I am adding and deleting elements of a certain class that have .post associated with them at .ready. For instance, if my last .post returns new html that create more items with delete forms, how should I turn the code in the .ready below to work?

[jQuery] Re: jquery/livequery assign behaviour to element by class

2008-09-16 Thread Brandon Aaron
Replace the first line $('.deleteform').submit(function() { with this $('.deleteform').livequery('submit', function() { -- Brandon Aaron On Tue, Sep 16, 2008 at 8:30 PM, onmountain [EMAIL PROTECTED] wrote: Can I use livequery with ajax? For instance, I am adding and deleting elements of a