Submit to POP UP window:
document.form1.action = "test.jsp";
window.open("", 'win', 'width=420px,height=300px,resizable=yes,top=50px,left=200px,toolbar=no, menubar=no, location=no, status=no');
document.form1.target = "win";
document.form1.submit();
window.open("", 'win', 'width=420px,height=300px,resizable=yes,top=50px,left=200px,toolbar=no, menubar=no, location=no, status=no');
document.form1.target = "win";
document.form1.submit();
Submit to IFRAME:
<body>
<form name="form1" method="post" action="test.jsp" target="save">
<input type="submit" name="Submit" value="Submit">
</form>
<iframe src="test.jsp" name="save" height="0" width="0"></iframe>
</body>
No comments:
Post a Comment