I have the following code in an asp webpage
<Script language = "JavaScript">
function SendToWebServer(action)
{
document.form1.action = "book_in.asp?ContainerNumber=" + document.form1.container_no.value + "&action=" + action;
document.form1.submit();
}
</script>
I get the error "Object does not support this property or method" indicating there is problem with document.form1.submit()
Any one any ideas before I lose my hair completely?
<Script language = "JavaScript">
function SendToWebServer(action)
{
document.form1.action = "book_in.asp?ContainerNumber=" + document.form1.container_no.value + "&action=" + action;
document.form1.submit();
}
</script>
I get the error "Object does not support this property or method" indicating there is problem with document.form1.submit()
Any one any ideas before I lose my hair completely?