![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dear all, I write a following form in the html page and link to the webpage without scrollbar,menubar, with a fixed size as follow: ------------------------- form name="formsearch" method="post" action="/update/search.php" target="new" onSubmit="return CheckForm2()"><input type="hidden" name="PHPSESSID" value="f7092b1e7077d992e854d60c797084f9" / div valign=center> b> <font size=1 face="Verdana">Product:</font></b br>   ; input type="text" name="product"value="" input type="submit" name="Submit" value="Search" /div /form ---------------------- and the corresponding javascript ====================== function CheckForm2() { if(document.formsearch.product.value==""){ document.formsearch.product.focus(); alert ("Please input product name!"); return false; } window.open('this.href','child','scrollbars=yes,me nubars=no,toolbars=no,widt h=500,height=550') return true; } ============== but the linkage is not valid. Please give me helping hand, thanks Regards, Simon |
![]() |
| Thread Tools | |
| Display Modes | |
| |