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

2008-09-17 Thread onmountain
('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 certain class that have .post associated with them at .ready. For instance, if my last

[jQuery] can i use livequery with greybox2 or equivalent?

2008-09-17 Thread onmountain
Hi. I am using greybox2 plugin to generate a modal window with details of items when I click on their hyperlink, identified by the class= . However, I am also adding more such hyperlinks with teh same class= on the fly, and I need to rebind the elements correctly. Can I use livequery to do

[jQuery] serialize does not send the value of the submit button

2008-09-16 Thread onmountain
Hi. Pretty new to jquery, but have gotten some ajax working - my question is, is it normal that the serialize does not send the value of the submit button itself? If so, why is that? It caused me all sorts of problems, as my php code responds to various HTML post requests based on the value of

[jQuery] Re: serialize does not send the value of the submit button

2008-09-16 Thread onmountain
Thank Mike, That was a help. Thought I was going crazy there for a while. The problem with working with ajax in a new language is that you never know what part of the transaction is problematic. I have set up an example with ajaxForm and have it working fine with json. However, is there

[jQuery] Re: Read AJAX response in transit?

2008-09-16 Thread onmountain
Hi. I guess if the process is REALLY long, like minutes or hours, it could be done. How about this as an idea: 1. on the server, create two handlers. The first one is the action you call to start the long process off with - call it start. The second will be a progress check - call it check. 2.

[jQuery] ajax not working on new form added to a page after an ajax operation

2008-09-16 Thread onmountain
Hi. I have a calendar which lists events. After each event I have a delete form. When someone clicks the submit, I use ajaxform to return new html that replaces the entire day's list of events, including a new delete form for each event. My problem is, the new forms do not seem to be ajaxed.

[jQuery] an example of a php response to ajaxForm request

2008-09-16 Thread onmountain
Is there any special thing that needs to be done to reply correctly to an ajaxForm request expecting html back? I can get it to work with echoing back a jason array, but nothing I do will get just a straight text response to work. Do I need to send a success somehow, could that be messing me up?

[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?