hello,
I am currently opening a page from a form using submit.
then target="_new"
how can I modify the windows appearence.
my code is :
<SCRIPT language="javascript">
function ValidateForm(){
var dt=document.s1
if (isDate(dt.Date1.value)==false){
dt.Date1.focus()
return false
}
dt.submit();
}
</SCRIPT>
<form method="post" name="s1" action=".\Results.asp" target="_new">
<DIV align="center"></DIV>
<DIV align="center">Date 1 (yyyy-mm-dd) <INPUT name="Date1" size="20"></DIV><p>
<DIV align="center">Date 2 (yyyy-mm-dd) <INPUT name="Date2" size="20"></DIV><p>
<DIV align="center"> </DIV>
<DIV align="center">
<INPUT TYPE="button" Value=" Submit " Name="b" onclick="return ValidateForm()">
</DIV>
</form>
I need the results pagfe to be opened in a new window with no scrollbars.
thanks guys.
I am currently opening a page from a form using submit.
then target="_new"
how can I modify the windows appearence.
my code is :
<SCRIPT language="javascript">
function ValidateForm(){
var dt=document.s1
if (isDate(dt.Date1.value)==false){
dt.Date1.focus()
return false
}
dt.submit();
}
</SCRIPT>
<form method="post" name="s1" action=".\Results.asp" target="_new">
<DIV align="center"></DIV>
<DIV align="center">Date 1 (yyyy-mm-dd) <INPUT name="Date1" size="20"></DIV><p>
<DIV align="center">Date 2 (yyyy-mm-dd) <INPUT name="Date2" size="20"></DIV><p>
<DIV align="center"> </DIV>
<DIV align="center">
<INPUT TYPE="button" Value=" Submit " Name="b" onclick="return ValidateForm()">
</DIV>
</form>
I need the results pagfe to be opened in a new window with no scrollbars.
thanks guys.