Post

jQueryjQuery

r
ravi sankar

Posted on 19th April 2024|66 views

0
votes

Enable Disable Button Jquery

Uses of enabling and disabling buttons in jQuery?

Answers
P
divija reddy

Posted on 19th April 2024

You can disable and enable the buttons by using the following syntax:

To disable:

$("#dialog").dialog();

$("select-button").prop('disabled', true);
 

To enable:

$("#dialog").dialog();

$(“select-button”).attr('disabled', false);

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos