We would like to know how to handle focus got event for RadioButton.
<!-- w w w .jav a 2 s . com-->
<html>
<body>
<script language="JavaScript">
function showFocus(){
console.log("Focus set on Box 1");
}
</script>
<form name="form1">
Click on the radio button
<br><br>
<input type="radio" name=button1 onFocus='showFocus()'>Box 1
</form>
</body>
</html>
The code above is rendered as follows: