
July 15th, 2004, 10:39 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
asp radio button problems
im attempting to create a program that will use radio buttons and a submit button to open pages in a new browser window based on the radio button selection. Only one button can be selected at a time, so i was thinking of using the radiobuttonlist (im using visual studio .NET to develop this). I am currently using a javascript
<script language="javascript">
function openWindowOnClick1()
{
var x = window.open('../PopUpGenerator/Request a Community or Project.htm','','height=400,width=400'); x.focus();
}
</script>
this script works fine and is not the problem. The problem is: I need to identify which radio button is selected when the submit button is clicked, and then the above code, slightly modified for each radio button, executes, opening a new browser window . Thanks a lot!
|