Top Ad unit 728 × 90

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: 5

No comments:

Website Design Company at Kolkata All Rights Reserved © 2014 - 2019
Developed by Asenwebmedia

Contact Form

Name

Email *

Message *

Powered by Blogger.