I have a drop-down list of different links to pages within the application, is there a way to code this so I can follow the link OnChange or via a Submit button without using JavaScript?
I have tried several different ways and even though the correct option is selected it's not active.
Here are a few of the things I've tried with no luck...
I feel as though something to this effect should work, however OnAction seems to do nothing, and submit shows a browser request, but refreshes my page. Any thoughts on this one??
I have tried several different ways and even though the correct option is selected it's not active.
Here are a few of the things I've tried with no luck...
Code:
<select onChange="href=#value#">
<option value="insertProductScreen1.cfm">Add New Product</option>
<option value="changeProductScreen1.cfm">Change a Product's Info</option>
Code:
<select onChange="href=this.value">
<option value="insertProductScreen1.cfm">Add New Product</option>
<option value="changeProductScreen1.cfm">Change a Product's Info</option>
Code:
<select name="action">
<option value="insertProductScreen1.cfm">Add New Product</option>
<option value="changeProductScreen1.cfm">Change a Product's Info</option>
<input type="submit" value="Continue" name="a href=<cfoutput>#action#</cfoutput>">
I feel as though something to this effect should work, however OnAction seems to do nothing, and submit shows a browser request, but refreshes my page. Any thoughts on this one??