that's what im trying to do - when a radio button is clicked, show its value. i have the code below, which i dont think is the best way to go about it. it always alerts "undefined". my reasoning is: when the document has loaded, and an input element in the div with id 'test' is focussed, show an alert of the value of the currently checked radio button.
$(function(){ $("#test/input").focus( function() { alert($("[EMAIL PROTECTED]@checked]").value);}); }); strangely enough when i change "input" to "radio", nothing happens? thanks for any tips on how to make this work :-)