Copy link to clipboard
Copied
I have a drop down menu and I want to post the data from the drop down into the next page....can I do that?
Thanks
Copy link to clipboard
Copied
All form data will be sent to any specified in the action="" page.
Copy link to clipboard
Copied
formPage.cfm
<form action="actionPage.cfm" method="post">
<SELECT NAME="flavor">
<OPTION value = "" SELECTED>Select flavor</OPTION >
<OPTION VALUE="vanilla" >Vanilla</OPTION >
<OPTION VALUE="strawberry">Strawberry</OPTION >
<OPTION VALUE="rum_raisin">Rum and Raisin</OPTION >
<OPTION VALUE="peach_orange">Peach and Orange</OPTION >
</SELECT>
<input ty
pe="Submit" value="send" name="sbmt">
actionPage.cfm
<cfdump
var="#form#">
Copy link to clipboard
Copied
I'm sorry my question is not complete....I mean I want to post the data from the drop down into the next page without using submit button
Copy link to clipboard
Copied
Copy link to clipboard
Copied
What do want use, if not the submit button.
P.S.,
I'm not liking a lot about this new Forum yet.
Copy link to clipboard
Copied
that I don't know...that's why I'm asking if it's possible and how. But I'm thinking is it possible to store the data on a session variable thru onclick? So that when a user pick a choice on the drop down then it will store in the session.
Copy link to clipboard
Copied
You can use for it AJAX - jQuery or ExtJS js-libraries.
Copy link to clipboard
Copied
can you give me a walkthrough on that, good reference?
thanks
Copy link to clipboard
Copied
I think you need read something like this: http://www.365labs.net/cf_jquery/jquery_coldfusion_quickstart.htm