Set focus on first checkbox if none selected
You can use any one of the following
$('input[type="checkbox"]').first().focus();
or
$('input[type="checkbox"]').eq(0).focus();
or
$('input[type="checkbox"]:first').focus();
Set focus on first checkbox if none selected
Reviewed by Ashok Sen
on
21:45:00
Rating:
No comments:
Post a Comment