Okay here we go.
1. In the code of html replace <asp:RadioButton ID="everywhere" runat="server"
Text= "everywhere" Checked=false EnableViewState=true /> with
<asp:RadioButton ID="everywhere" runat="server" Text= "everywhere" onMouseOver="FocusRadioObject(this)" onClick="FlipRadioSelection(this)" Checked=false EnableViewState=true />
2. The javascript supporting that is below which you have to add in your
HTML code between <head> and </head>
<srcipt>
var objRadChecked;
objRadChecked = false;
function FocusRadioObject(obj) {
objRadChecked = obj.checked;
}
function FlipRadioSelection(obj) {
if(objRadChecked == true)
obj.checked=false;
else
obj.checked=true;
objRadChecked = obj.checked;
}
</script>
No comments:
Post a Comment