If you have CF8 you can use coldfusion components instead with cfajaxproxy.  
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_i_01.html



Kier Simmons
Manager of Application Development
[cid:[email protected]]<http://www.giveblood.org/>
Phone:

713-791-6619

Toll Free:

1-888-482-5663

Fax:

713-791-6681

www.giveblood.org<http://www.giveblood.org>


P Please consider the environment before printing this e-mail.

From: [email protected] [mailto:[email protected]] On Behalf Of 
Mark Davis
Sent: Thursday, November 05, 2009 11:58 AM
To: [email protected]
Subject: [Possible SPAM] [houcfug] Ajax question
Importance: Low

Not sure why I am not finding this..... I have several pages where we have a 
form and submit it and do something via ajax.

something like this...


function handleEmailUpdate(emailID) {

    
ColdFusion.Ajax.submitForm('emailUpdateForm'+emailID,'ajax/email/processEmail.cfm',handleEmailResponse);

}
I don't want to have a form on my current page, but I just want to do something 
like this...


function handleEmailUpdate(emailID) {

    var ajaxURL = 'ajax/email/updateEmail.cfm?emailID=',

    Now just go hit this url and the return is still handled by the 
handleEmailResponse (ajaxURL,handleEmailResponse);

}
am I just being stupid?

Thanks

Mark





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

<<inline: image001.gif>>

Reply via email to