scripter73
Programmer
I’m not sure if this belongs on the JSP forum, the CFM forum, or HTML, but I’ll start here.
I have a JSP page that has an embedded HTML form:
Index.jsp:
<html>
<body>
…..embedded HTML form
<form name="CustEntry" method="post" action="javascript:window.open('">
<input name="CustNumber" type="text" size="20" maxlength="20"><br><br>
<a href="#" onClick="document.CustEntry.submit();" border=0><img src="images/submitBut.gif" border="0" width="69" height="17"></a>
</form>
</body>
</html>
As long as I don’t have the “javascript:window.open() function” in the action, my form field CustNumber gets passed to the new screen with no problem, but now when I add the window.open(), I get a complaint on the new screen that it cannot find the form element.
Why was the form element not found?
Thanks in advance.
Scripter73
Change Your Thinking, Change Your Life.
I have a JSP page that has an embedded HTML form:
Index.jsp:
<html>
<body>
…..embedded HTML form
<form name="CustEntry" method="post" action="javascript:window.open('">
<input name="CustNumber" type="text" size="20" maxlength="20"><br><br>
<a href="#" onClick="document.CustEntry.submit();" border=0><img src="images/submitBut.gif" border="0" width="69" height="17"></a>
</form>
</body>
</html>
As long as I don’t have the “javascript:window.open() function” in the action, my form field CustNumber gets passed to the new screen with no problem, but now when I add the window.open(), I get a complaint on the new screen that it cannot find the form element.
Why was the form element not found?
Thanks in advance.
Scripter73
Change Your Thinking, Change Your Life.