hi In my application, i have to validate the radio button, showing alert message if checked second time. there are more than one radio button. pls advice.
@bathurst_guyMar 02.2006 — #Do you mean that if a user selects a radio button, then changes his/her mind and selects another, and changes his/her mind again and returns to the original selection, you would like an alert to happen?
@senthilbsauthorMar 02.2006 — #hey, alert message is popped when i clicked first time itself. my requirement is to provide alert message after click the radio button second time.
You can do this:<head><script type="text/javascript"> var again = false; </script> </head> <body> <input type="radio" name="radio1" onclick="if(this.checked==true && again)alert('You have already selected this...');again = true;"> </body>