Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JavaScriptQuestions JQuery-Disabling element in JQuery.
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


BikrantSingh
JQuery-Disabling element in JQuery.
1 Answer(s)      3 years and 10 months ago
Posted in : JavaScript Questions


How can we enable/disable an element in JQuery ?


Advertisement
View Answers

December 4, 2010 at 5:48 PM


For enabling/disabling element,you can set the 'disabled' attribute to true or false:

//Disable element
$('#element1').attr('disabled', true);
//Enable element
$('#element1').attr('disabled', false);


Related Tutorials/Questions & Answers:
JQuery-Disabling element in JQuery.
JQuery-Disabling element in JQuery.   How can we enable/disable an element in JQuery
JQuery-confirming exsistance of an element.
JQuery-confirming exsistance of an element.  Hi there, How do I test whether an element exists in jQuery?   You can check existance of an element in jQuery using length property of the jQuery collection
Advertisements
JQuery-event working new element
JQuery-event working new element  I want to know- why not an event(in JQuery) works on my created element through jQuery
Test hidden element using JQuery
Test hidden element using JQuery  Suppose i have an element which i... if that element is currently hidden or visible on the screen? Please provide code with your answer.   You can check the visibility of an element
Getting the ID of the element that fired an event using JQuery
Getting the ID of the element that fired an event using JQuery  Hello sir I want to know-Is there any way to get the ID of the element that fires... to understand the concept. Thanks in advance   Dear friend In jQuery
Position one element relative to other using JQuery.
Position one element relative to other using JQuery.  Hello Sir In my web page, i have a hidden div which contains a toolbar-like menu. Also, i... showMenu = function(ev) { //get the position of the placeholder element var
JQuery
JQuery  hi there, I am just beginner for jQuery and i want to know-what is jQuery ? How it is better than JavaScript ?   jQuery... JavaScript : Each jQuery returns itself so you can chain them together(Chaining
JQuery
JQuery  how to use jquery
jquery
jquery  What are the Jquery similarities or difference with other java script libraries
JQuery
JQuery  How i begin JQuery and where i begin learning?   Please visit the following link: JQuery Tutorials Learn Jquery from the above link. Here you will get lot of examples with illustration
jQuery
jQuery  Hi, What is jQuery and how it is used to develop Web applications? Thanks
jquery
jquery  how to display the leaves taken or holidays of the year or half working days in a calendar in some colors to identify the days using jquery plugin
JQuery
JQuery  how to create jquery auto-complete textbox ? in which data come from database table?   Please visit the following link: http://www.roseindia.net/tutorial/jquery/autoSuggestTextbox.html   thank you
JQuery
, use jquery autocomplete
JQuery
using url of the doctors, use jquery autocomplete
jQuery Fading Method
jQuery fadind () methods used to fade in and out the elements visibility. jQuery offers various methods like fadeIn(), fadeOut(), fadeToggle() and fadeTo...: .fadeIn(): jQuery .fadeIn() method display the matched elements by fading
jQuery selectors
jQuery selectors       jQuery selectors In this tutorial we are discussing jQuery selectors. The jQuery selectors are one of the main feature in jQuery library
jQuery - jQuery Tutorials and examples
jQuery - jQuery Tutorials and examples       The largest collection of jQuery examples and jQuery Tutorials on the web. Learn and master jQuery from scratch. jQuery is nice
jQuery email validation
jQuery Email Validation : jQuery "required email" is the method to validate or check email  if the element is empty (text input) or ... with jQuery "required email" : In this example there are the following
jQuery required validation
jQuery required Validation: jQuery "required" is the method to validate or check  if the element is empty (text input) or unchecked (radio...;/option>. Getting Started with jQuery required : In this example
JQuery url validation
jQuery url Validation : jQuery "required url" is the method to validate or check url if the element is empty (text input) or  wrong url type... } } }); </script> Getting Started with jQuery "
jQuery password validation
jQuery password Validation : jQuery "equalTo: "#password" " is the method to validate or check password if the element is empty (text input...; Getting Started with jQuery "equalTo: "#password""
Bind custom event with an element using 'bind'
Bind custom event with an element using 'bind' In this tutorial, we will discuss about how to bind a user define event with an element using 'bind ' function of jQuery. In this example ,  we are firing an user
jQuery bind event
jQuery bind event In this tutorial, we will discuss about how to bind multiple events with an element using jQuery. In this example, a paragraph binds with multiple events like click, mouseenter mouseleave,  dblclick etc using
Selecting element using jQuery.
Selecting element using jQuery In this tutorial , we will discuss about the different methods to select elements of html page. The jQuery has two ways... as a string to the jQuery constructor (eg. $("div > ul a"
jQuery Demos
Selecting element using jQuery. Showing content of a file... with an element using 'bind' jQuery 'select' form... jQuery Demos and quick examples   
use of jquery
use of jquery  what is a jquery? what is the evalution of jquery?   Hello Friend, Please visit the following link: JQuery Tutorials Thanks
What is jQuery?
What is jQuery? jQuery is a multi-browser JavaScript library that makes the use of javascript in a website very easy. jQuery helps in wrapping many lines.... jQuery was released in the year 2006. It is an open-source software. jQuery's
What is jQuery?
are the features of jQuery DOM element selections functions DOM traversal... What is jQuery?       jQuery is great library for developing ajax based application. jQuery is great
learn jquery
learn jquery   is it possible to learn myself jquery,ajax and json   Yes, you can learn these technologies by yourself. Go through the following links: Ajax Tutorials JSON Tutorials JQuery Tutorials
Use of jQuery
Use of jQuery  What is the use of jQuery?   Hi, jQuery is JavaScript Ajax library. Developer is using it to create rich internet applications. Read at jQuery Tutorial. Thanks
 

 

 

DMCA.com