Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...