blueindian1
Programmer
i have this page that will not post when i try to use javascript to submit the form. i get "object does not support this method or property".
here is the function and the first bit of the page. the error is on the last line of the script. in other words, i get the "pre" alert.
function submitForm(pageType)
{
if(pageType = 'SETUPINSERT')
{
document.oppEdit.action.value = 'PERFORMINSERT';
}
alert('pre');
document.oppEdit.submit();
}
//-->
</script>
<LINK type='text/css' rel='StyleSheet' href='css/style.css'>
<form name="oppEdit" method="post" action="oppEdit.asp">
.
.
.
.
.
</form>
any ideas?
here is the function and the first bit of the page. the error is on the last line of the script. in other words, i get the "pre" alert.
function submitForm(pageType)
{
if(pageType = 'SETUPINSERT')
{
document.oppEdit.action.value = 'PERFORMINSERT';
}
alert('pre');
document.oppEdit.submit();
}
//-->
</script>
<LINK type='text/css' rel='StyleSheet' href='css/style.css'>
<form name="oppEdit" method="post" action="oppEdit.asp">
.
.
.
.
.
</form>
any ideas?