[thelist] JS alerts not working for input type=radio buttons

Yuriy work at avg-team.com
Fri Feb 22 05:09:00 CST 2002


Hello Sharon,

Friday, February 22, 2002, 4:05:32 PM, you wrote:

As i understand you need something like this:

<html>
<head>
<script language=javascript>
function test() {
if (document.forms[0].radio_1.status==true) alert ("hey-ho!");
else alert ("nope");
}
</script>
</head>
<body onClick="javascript:test();">
<form>
<input type=radio name="radio_1">
</Form>
</body>
</html>

if this will not help, let me know :-).




---
Best regards,
 Yuriy                                       mailto:work at avg-team.com
Business Development Manager                 icq uin:56144247

AVG-Team: Web Development Company            mailto:team at avg-team.com
Web development starts here                  http://www.avg-team.com/




More information about the thelist mailing list