Submit in onChange-event

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Thu May 08, 2003 4:38 am

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: Select all

function clicked()
<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>
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest