jQuery check button disabled
You could use below to check if button is disabled:
Option 1:
$(“#idOfButton”).attr(‘disabled’)==”disabled”
Option 2:
$(“# idOfButton “).is(“:disabled”)
Option 3:
$(‘# idOfButton’).prop(‘disabled’)
jQuery check button disabled
You could use below to check if button is disabled:
Option 1:
$(“#idOfButton”).attr(‘disabled’)==”disabled”
Option 2:
$(“# idOfButton “).is(“:disabled”)
Option 3:
$(‘# idOfButton’).prop(‘disabled’)