Monday, March 14, 2011

How to check if button is disabled in JQuery

if (!$('#buttonid').is(':disabled'))
                    $('#buttonid').focus();

No comments:

Post a Comment