Javascript Manual
Submitted by moxley on Thu, 2007-06-21 20:06
Really just a cheat sheet, this page will list day-to-day features of browser Javascript that I always have to search around to find the answers for.
The
Detecting Radio Button Change Event
Use theonclick handler:
<input type="radio" name="sort_by" onclick="alert('Changed to ' + this.value);" value="alpha" /> <label>Alphabetical</label>
onchange handler doesn't work in IE and Safari. Use onclick instead.