[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

jQuery .disable() not working

Posted on 2011-04-20
3
Medium Priority
?
301 Views
Last Modified: 2012-05-11
First code doesn't work:

  var regionPickerOpenButtons = $(".regionPickerOpenButton");

  regionPickerOpenButtons.disable();

This code does work:

  $(".regionPickerOpenButton").attr('disabled', 'disabled');

Why doesn't .disable(); above ??

0
Comment
Question by:jonatec
  • 2
3 Comments
 
LVL 23

Expert Comment

by:cmalakar
ID: 35434583
>>regionPickerOpenButtons.disable();

is this api  present in jquery ?
0
 
LVL 23

Accepted Solution

by:
cmalakar earned 2000 total points
ID: 35434639
Probably you need this plugin.

http://plugins.jquery.com/project/disable
0
 

Author Closing Comment

by:jonatec
ID: 35438883
Perfect thanks.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses
Course of the Month17 days, 21 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question