What I need to do is query a database if form values are ‘like’ any stored data, then return the results as a table (search form). The form action calls a javascript function. That function validates input and loads the table into the same div the form is in (ajax). In my coldfusion page is where I actually query, so I need to access those form field values there. My question is what/how is the best way to do this? #form.value# does not work because the form object isn’t sent to coldfusion.
Do I:
Pass the DOM form object to the javascript function, and then pass that to coldfusion? If so, how?
Reference the form field values in my coldfusion page without the form actually submitting? If so, how? (The form does submit on a button click, but no refresh, only the javascript function call as explained above).
Thanks
It was easiest to submit to an iframe and process the form there.