I have a form with a textfield and a button, the button should send the variable catched in the textfield to "ficha.php", and should open this page with the common features supported by MM_openBrWindow.
The bad thing: variable is missing....
Here U have the code, any hints?
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<form name="referencia" action="ficha.php" target="ficha">
<input type="text" name="varid" class="B">
<input type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Consultar" onClick="MM_openBrWindow('ficha.php','ficha','scrollbars=yes,width=650,height=550')">
The bad thing: variable is missing....
Here U have the code, any hints?
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<form name="referencia" action="ficha.php" target="ficha">
<input type="text" name="varid" class="B">
<input type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Consultar" onClick="MM_openBrWindow('ficha.php','ficha','scrollbars=yes,width=650,height=550')">