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
All Rights Reserved by ASENwebmedia © 2014 - 2015
Powered By Blogger, Developed by Asenwebmedia

Contact Form

Name

Email *

Message *

Powered by Blogger.