<head> <SCRIPT Language="Javascript"> function handleEvnetSet(){ testForm.handleEvent=testForm.submit(); } function handleEvnetSet1(obj,event){ alert(testForm.handleEvent); obj.form.handleEvent=obj.form.submit(); } function handleEventReset(obj,event){ obj.form.handleEvent=event; alert(testForm.handleEvent); if(obj.form.handleEvent=='onReset') obj.form.reset(); } </SCRIPT> </head> <body> <FORM name="testForm" method="get" action="wformReceive.html" target="win"> <INPUT type="text" name="testText1" value="auto submit" onChange="this.form.handleEvent='onSubmit';handleEvnetSet(this)"> onChange·Î onSubmit È£Ãâ<BR> <INPUT type="text" name="testText2" value="click to submit" onClick="handleEvnetSet1(this,'onSubmit')"> onClickÀ¸·Î onSubmit È£Ãâ<BR> <INPUT type="button" name="buttonReset" value="buttonReset" onClick="handleEventReset(this,'onReset')"> onClickÀ¸·Î onReset È£Ãâ<BR> <INPUT type="submit" name="submitButton" value="¼Û½Å"> // Á¤»ó ¼Û½Å <INPUT type="reset" name="resetButton" value="Àç¼³Á¤"> // Á¤»ó Àç¼³Á¤ </FORM> </body>