Bryan,

qForms has this functionality:

You can do:

oForm = new qForm("frmName");
// return all form fields in the document.frmName form
structOfFields = oForm.getFields();
// return all form fields in every form object in the DOM
structOfAllFields = qFormAPI.getFields();

-Dan

>-----Original Message-----
>From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
>Sent: Thursday, December 15, 2005 5:17 PM
>To: CF-Talk
>Subject: AJAX related: onClick grab all form elements
>
>Hey All,
>
>Now that I'm looking into AJAX, I'm wondering how I can grab the values of
>ALL form elements with an onClick event?
>
>I'd like to grab them all as a structure or array and send the FORM scope
>off to a CFC to perform server-side validation and passback the results
>(i.e. avoid the full form post and page refresh as you'd have in normal
>server-side validation).
>
>Hopefully that was clear enough ;-)
>
>TIA
>
>Cheers
>
>Bryan Stevenson B.Comm.
>VP & Director of E-Commerce Development
>Electric Edge Systems Group Inc.
>phone: 250.480.0642
>fax: 250.480.1264
>cell: 250.920.8830
>e-mail: [EMAIL PROTECTED]
>web: www.electricedgesystems.com
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227165
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to