It's a little bit off the beaten path, but if you know your forms unique client id (ie doing a view source it would be form id="uniqueclientid" ) then you know the method that will be called to submit it via an AjaxForm which is(replace ${formId} with your unique client id):

document.post${formId}Form = function(event) {
//lots of stuff
}

The only catch is that you have to pass in a valid _javascript_ event to that function, and not just any event, but a dojo enhanced event. The best way to assure this is by simply triggering the function that calls it via an dojo event listener :)
ie
dojo.event.connect();

jesse

On 2/1/06, J. Joseph Benavidez <[EMAIL PROTECTED] > wrote:

Hello,

I have search text field where I want to apply the principals described
here:

http://ajaxpatterns.org/Submission_Throttling


Basically, on a set interval, I want to do an ajax form submit if the
text in the text field has changed. Wiring up everything so that the
text value is cached and a _javascript_ function is called on an interval
is easy enough... But the question is, how do I perform that actual ajax
submit?

Is there a component that will give me a pre-made ajax form submit
function that I can call within _javascript_?

Thanks,

j.joseph

p.s. thanks for everyone's hard work! this is a great framework!



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to