Hello,

I have this jscript function which works perfectly in IE, but not in Netscape. When I click the submit button in NS - nothing happens - no error, no "do you want to debug" - nothing.

Here's the function... it just checks what was selected in a dropdown(lstcountry) and then loads some page accordingly.

My submit button code is just something like
<input type="button" onclick="submitit()"




function submitit() {

// get country
var sCountry = new String(document.frmcountry.lstcountry.value.substring(0,1).toUpperCase());


var sActionPage = new String();

// determine which page to send form to
if (sCountry == "*") {
sActionPage = "city.asp";
} else {
sActionPage = "province.asp";
}

// set form action
document.frmcountry.action = sActionPage;


// submit form
document.frmcountry.submit();

return;
}

</script>