Newbie-ish question:
I have a bunch of radio buttons, each with an inline event handler ('onclick') that calls a function. This is in the HTML, like so:
<input type="radio" onclick="do_something()">
And in the doc head I have a function that does something with the particular radio button that has been clicked:
function do_something() {
$(theRadioButtonThatWasClicked).doSomeStuff...
}
How do I pass to the function the information about which radio button was clicked, so I can refer to that radio button (without having to specify it by a unique ID)?
Thanks so much!
-Kim
in the HTML: