Submit in onChange-event

A

Anonymous

Guest
you have a very big mistake!!!
first in onChange you may place only JavaScript not more. By the way you may see code youre page
change at
Code:
<?
function clicked()
{echo("onChange=\"window.document.form1.submit();\"");}
?>
...
<form name=form1 action="selected.php" method=post>
<input type=text name=txt1 value=1 onChange="<? clicked(); ?>">
<input type=hidden name=txthidden value=pipikaka>

<input type=submit value=submit>
</form>
 
Back
Top