onchange and onfocus function
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zeta_zeta
Posted On:   Saturday, July 23, 2005 01:29 AM

i have a html file of the follwoing content function testonchange(){ alert('onchange is triggered'); return false; } function testonfoucus(){ alert('onfocus is triggered'); return true; } ]]>]]> when i am tabbing out from textfield txt1 by changing the value in it testonchange() function get executed. this function returns false and hence the onfocus function for text field txt2 should not get executed. This works fine for Internet Explorer. but for netscape 7.1 this is not working properly the testonfocus function of textfield txt2 get triggered on the onchange of text field txt1. How could this be prevented? can any throw some light on it.    More>>

i have a html file of the follwoing content












when i am tabbing out from textfield txt1 by changing the value in it
testonchange() function get executed. this function returns false and hence the onfocus function for text field txt2 should not get executed. This works fine for Internet Explorer. but for netscape 7.1 this is not working properly

the testonfocus function of textfield txt2 get triggered on the onchange of text field txt1.

How could this be prevented? can any throw some light on it.

zeta

   <<Less
About | Sitemap | Contact