.width() method in Jquery
Description: The jQuery width() method is used to GET/SET the widthย for the selected element. In simple, widthย () method can be split in to two purposes GET widthย : It will return the widthย for the selected/matched element
.height() method in Jquery
Description: The jQuery height() method is used to GET/SET the height for the selected element. In simple, height() method can be split in to two purposes GET height: It will return the height for the
.toggleClass() method in Jquery
Description: The jQuery toggleCLass() method is used to add or remove one or more classes from the selected elements. ย In simple, the toggleClass() method checks each element for the specified class names. ย If the class
.removeClass() method in Jquery
Description: The Jquery removeClass() method remove the css class for the matchedย element.ย It will remove single/multiple classes for each element in the set of matched elements. Note: The removeClass method will remove all css class names
.hasClass() method in Jquery
Description: The Jquery hasClass() method validate whethere selected elements having a specified class name or not. If selected elementsย has matched class name then it will return "true" elseย it will return "false". Syntax .hasClass( className )
addClass() method in Jquery
Description: The Jquery addClass() method add the specified class(s) ย for the matched/selected elements.ย If we need to add more than one class then we need to use Space as the separate between the class names.ย It does
css() method in Jquery
Description: Jquery .css() method Get/set the css property for the matched elements. Syntax GETย Property: .css( propertyName ) SET Property: .css( propertyName, value ) propertyNameย A css property name value A value to set for the
serializeArray() method in Jquery
Description: The jQuery serializedArray() Method is used to create a array of string by serializing form values. It operates on a collection of forms and its controls. We can select one or more form elements