Hi,
I have a function for opening a page in a popup box:
<SCRIPT>
function newwindow(theUrl) {
window.open(theUrl, 'jav', 'width=640,height=320,resizable=no,scrollbars=auto');
}
</SCRIPT>
And I also have a form:
<form method="post" action="theform.asp">
<input type="checkbox" onclick="submit()">
<input type="hidden" name="UserID" value="1">
</form>
Is there a way of making it so that when someone clicks on the checkbox the page "theform.asp" opens up in a popup window using the newwindow function?
Thanks very much
Ed
I have a function for opening a page in a popup box:
<SCRIPT>
function newwindow(theUrl) {
window.open(theUrl, 'jav', 'width=640,height=320,resizable=no,scrollbars=auto');
}
</SCRIPT>
And I also have a form:
<form method="post" action="theform.asp">
<input type="checkbox" onclick="submit()">
<input type="hidden" name="UserID" value="1">
</form>
Is there a way of making it so that when someone clicks on the checkbox the page "theform.asp" opens up in a popup window using the newwindow function?
Thanks very much
Ed