0 pts.
 Redirecting a page using vbscript
I want to redirect to an asp page with some arguments after selecting a radio button. I do not want to use any session variables. How would I achieve it? Is it using window.location command. If so, please give the syntac

Software/Hardware used:
ASKED: October 29, 2007  7:05 AM
UPDATED: November 23, 2007  4:25 PM

Answer Wiki:
You want to go postback (process on server) or to do all the job on client? Bottom code is client-side only: <pre><script type="text/javascript"> <!-- function redirectRadio(sender) { window.location = sender.value + "?parameterYouWant=ParamValue"; } // --> </script></pre> for example somewhere in body of document: <pre><input type="radio" id="radioBtn" onclick="redirectRadio(this)" value="http://www.google.com" /> <label for="radioBtn">URL</label></pre> for redirecting on server side simply yse Response.Redirect
Last Wiki Answer Submitted:  November 23, 2007  4:25 pm  by  R.S. Sole   45 pts.
All Answer Wiki Contributors:  R.S. Sole   45 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _