WebStalkers
asked on
Drop-down menu question
I am using a drop-down menu so a user can select a language for the page to be displayed in.
In my select options it is currently like this:
This reloads the page using the langChoice variable but it ends up like this:
http://domain/pagename?langchoice= 101
I need it to just reload the page using the langChoice value but not show the:
?langChoice=101
Any ideas?
-
In my select options it is currently like this:
<select name="langChoice" onchange="location = this.options[this.selectedIndex].value;">
<option>Select language...</option>
<option value="http://localhost:100/#session.pageName#?langChoice=100">English</option>
<option value="http://localhost:100/#session.pageName#?langChoice=101">German</option>
<option value="http://localhost:100/#session.pageName#?langChoice=102">Spanish</option>
</select>
This reloads the page using the langChoice variable but it ends up like this:
http://domain/pagename?langchoice= 101
I need it to just reload the page using the langChoice value but not show the:
?langChoice=101
Any ideas?
-
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the replay. i ended up using the redirect solution that I mentioned and have it working now.
Thanks again
Thanks again
ASKER