How to pop up a jsp page from a grp of radio buttons?

*******URGENT HELP REQUIRED*********

THIS IS NOT A YADA YADA POST......

Here is my code. I want to pop up a jsp page if user clicks on one radio button.

<html> <title>Radio Button Validation</title> <body bgcolor="#FFFFFF"> <script language="JavaScript"> <!-- function radio_button_checker(){// set var radio_choice to false var radio_choice = false; // Loop from zero to the one minus the number of radio button selections for (counter = 0; counter < document.radio_form.radio_button.length; counter++) { // If a radio button has been selected it will return true // (If not it will return false) if (radio_form.radio_button[counter].checked) { if(radio_form.radio_button[counter].value == 'Company') { javascript:openWindow('addContactForOther.do','documents',500,300) } else if(radio_form.radio_button[counter].value == 'SA') { openWindow('addContactForOther.do','documents',500,300) } else { document.radio_form.action="other.html"; } radio_choice = true; break; } } if (!radio_choice) { // If there were no selections made display an alert box alert("Please select a Role.") return (false); } else { document.radio_form.submit(); } return (true); } --> </script> <form method="get" action="" name="radio_form"> <table width="200" border="0"> <tr> <td><input type="radio" value="Company" name="radio_button"> Company Employee </td> </tr> <tr> <td>

<input type="radio" value="SA" name="radio_button"> SA Rep </td> </tr> <tr> <td>

<input type="radio" value="Other" name="radio_button"> Other </td> </tr> <tr> <td>

<input type="button" value="Submit" onClick="return radio_button_checker()"> <input type="reset" name="reset" value="Cancel"></td> </tr> </table> </form> </body> </html>

PLZ HELP ME WITH THIS

[2284 byte] By [PaviEluri20a] at [2007-11-27 11:25:12]
# 1

> *******URGENT HELP REQUIRED*********

> THIS IS NOT A YADA YADA POST......

> .. I want ..

> PLZ HELP ME WITH THIS

Wtf? Who are you if you thinks that you may put pressure on us, simple and helpful forum members?

Behave kindly and ask smart questions.

BalusCa at 2007-7-29 16:03:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Call this js fn. (in onClick event)

function showpopup(message,Height,Width)

{

eval("msgWindow=window.open('','mypopup','title=no,titlebar=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width="+Width+",height="+Height+",screenX=200,screenY=150,top=150,left=200')");

}

call the fn:

onClick="showpopup('Hello',150,300)"

skp71a at 2007-7-29 16:03:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

I apologize if I am not polite. Thank you very much for your extended cooperation.

PaviEluri20a at 2007-7-29 16:03:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

> *******URGENT HELP REQUIRED*********

> THIS IS NOT A YADA YADA POST......

>

If its urgent pay someone, otherwise have some respect.... tool.

ita6cgra at 2007-7-29 16:03:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...