logo-MindMajix
PostjQueryjQuery
r
ravi sankar

Posted on 24th July 2024|67 views

0
votes

Enable Disable Button Jquery

Uses of enabling and disabling buttons in jQuery?

1 answers
Answers
P
divija reddy

Posted on 24th July 2024| views

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
Name
Course *
Email *
Phone Number