kathryn
02-04-2003, 01:21 PM
Hi,
I need a piece of javascrict that if a user selects I disagree on a radio button then a new window appears.
I am using the following javascript checks but am just missing the line that fires up the new window??
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function submitIt(AppForm1{
var digits="0123456789"
var temp
TermsLegals = -1
for (i=0; i<AppForm1.TermsLegals.length; i++) {
if (AppForm1.TermsLegals[i].checked){
TermsLegals = i
}
}
if (TermsLegals == 2){
***** code for new window here*****
AppForm1.TermsLegals[0].focus();
return false
}
return true
}
// End -->
</SCRIPT>
Thanks, Kathryn
I need a piece of javascrict that if a user selects I disagree on a radio button then a new window appears.
I am using the following javascript checks but am just missing the line that fires up the new window??
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function submitIt(AppForm1{
var digits="0123456789"
var temp
TermsLegals = -1
for (i=0; i<AppForm1.TermsLegals.length; i++) {
if (AppForm1.TermsLegals[i].checked){
TermsLegals = i
}
}
if (TermsLegals == 2){
***** code for new window here*****
AppForm1.TermsLegals[0].focus();
return false
}
return true
}
// End -->
</SCRIPT>
Thanks, Kathryn