onchange() cancelling onclick()!
Hello!
I want to control the user's while he navigates but I encountered the follwoing problem: the onchange() function seems to cancel the onclick()!
In the following (simplified), using IE 6, when ones click on the button after having changed the text, the onchange() function is called, but not the onclick()!!!!
<HTML>
<HEAD>
<SCRIPT>
function fCh() { alert ("Changed"); }
function fPE() { alert ("Click"); }
</SCRIPT>
</HEAD>
<BODY>
<FORM>
<INPUT class="text" type="text" value="BONJOUR" onchange="fCh();">
<INPUT type="button" onclick="fPE();">
</FORM>
</BODY>
</HTML>
Thank for your help.
Eric
|