Friday, May 13, 2011
How to get the checked radio button by jQuery
$(':radio').change(functio n () {
$(':radio:checked'). each(function () {
if ($(this).val() == 2) {
//Do stuff
return;
}
});
});
How to set focus for first textbox in the web page by jQuery
$("#div1 :input[type='text']:first").focus();
Subscribe to:
Posts (Atom)