I am currently working on a project where we render a dynamic page based on what we are holidng in a SQL table. We have conditional validation for controls where you can say \[quote\] if x is equal to y then enable controls abc\[/quote\]I have multiple radio buttons in a group, the last control is "Other (please specify)" which when true will enable a textbox to specify so I need to capture when this is set to both true or false. Currently I am doing something like this\[code\]<input type="radio" name="test" value="http://stackoverflow.com/questions/12819999/Yes" /><input type="radio" onchange="onChange()" name="test" value="http://stackoverflow.com/questions/12819999/No" /><script type="text/javascript"> function onChange() { alert('Changed') }</script>\[/code\]If I check \[code\]NO\[/code\] I get an alert. If I then check \[code\]YES\[/code\] it changes the \[code\]NO\[/code\] radio button checkstate but doesn't display an alert - any solutions?