eramgarden Posted January 29, 2005 Posted January 29, 2005 This is ASP NOT ASP.Net: My brain is just beyond fried.. I have 2 pages: page 1, page2. Page1 has 2 radiobuttons. I want to decide which one is selected and pass the value to the next page -- I have tried these: <input type="radio" name="Sec1" [b]value=<%session("TS")= "TS" %>[/b] ID="Radio2" >Technical Services<br> <input type="radio" name="Sec1" [b]value=<%session("PS")= "PS" %>[/b] ID="Radio3">Public Services<br> But both sessions have values in them when I click , for example, the first one. 2. <input type="radio" name="Sec1" value="DI" [b]onclick[/b]="<%session("DI")= "DI" %>" ID="Radio1">Director<br> <input type="radio" name="Sec1" value="TS" [b]onClick[/b]="<%session("TS")= "TS" %>" ID="Radio2" >Technical Services<br> Same issue as above 3. Used a function: ....onclick="Javascript:RadioValue('<%session("DI")= "DI" %>')" ... <script Language=JavaScript Runat=server> function RadioValue(XX){ } </script> But how do I save the value in a session variable in the function? Please HELP! Quote
eramgarden Posted January 30, 2005 Author Posted January 30, 2005 found answer: request.form("nameofradiobutton") Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.