DrAwesomePhD Posted February 23, 2006 Share Posted February 23, 2006 Hi, i was totally intrigued by the way this website checked your password automatically when you filled in the fields, if your two passwords matched it changed the border on the <div> to green from white, if they didnt it changed them to red... I'm not too familiar with javascript, but could anyone help me please... and tell me how to do something like that? The main problem seems to be - when you deselect a password box, you have to make a check to see if they are the same... but how do you know when someone deselects the password box? Quote Link to comment https://forums.phpfreaks.com/topic/3553-creating-a-password-checker-like-on-this-website/ Share on other sites More sharing options...
yonta Posted March 5, 2006 Share Posted March 5, 2006 hithink it's the javascript onBlur event - it fires when the user clicks outside the form control. google it ;) Quote Link to comment https://forums.phpfreaks.com/topic/3553-creating-a-password-checker-like-on-this-website/#findComment-14299 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.