☰
JQuery Tutorial
JQuery - Basic
JQuery - Setup
JQuery - Dollar($) Sign
JQuery - DOM
SELECTORS
JQuery - Selectors
JQuery - Class Selectors
JQuery - ID Selectors
JQuery - Types of Selectors
EVENTS
JQuery - Events
JQuery - Mouse Events
JQuery - Keyboard Events
JQuery - on() Event
JQuery - All Events
EFFECTS
JQuery - Effects
JQuery - Display Effects
JQuery - Fade Effects
JQuery - Slide Effects
JQuery - Animated Effects
JQuery - All Effects
JQuery-HTML
JQuery - Getter
JQuery - Setter
JQuery - Insert
JQuery - Delete
JQuery - Wrappers
JQuery - HTML Methods
JQuery-CSS
JQuery - CSS Methods
DOM
JQuery - DOM Traversal
JQuery - Parent
JQuery - Child
JQuery - Siblings
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
HTML
CSS
JAVA SCRIPT
JQUERY
OTHERS
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
HTML
CSS
JAVA SCRIPT
JQUERY
JQuery Tutorial
JQuery - Basic
JQuery - Setup
JQuery - Dollar($) Sign
JQuery - DOM
SELECTORS
JQuery - Selectors
JQuery - Class Selectors
JQuery - ID Selectors
JQuery - Types of Selectors
EVENTS
JQuery - Events
JQuery - Mouse Events
JQuery - Keyboard Events
JQuery - on() Event
JQuery - All Events
EFFECTS
JQuery - Effects
JQuery - Display Effects
JQuery - Fade Effects
JQuery - Slide Effects
JQuery - Animated Effects
JQuery - All Effects
JQuery-HTML
JQuery - Getter
JQuery - Setter
JQuery - Insert
JQuery - Delete
JQuery - Wrappers
JQuery - HTML Methods
JQuery-CSS
JQuery - CSS Methods
DOM
JQuery - DOM Traversal
JQuery - Parent
JQuery - Child
JQuery - Siblings
❮❮ PREV
NEXT ❯❯
JQUERY
-
HTML METHODS
Note :
You can click on each effect and get the detail of it.
Both Getter and Setter Methods
HTML Methods
Description
text()
This method is used to get and set content of an HTML element.
html()
This method is used to get and set the contents of an HTML element.
val()
This method is used to get and set the value of an HTML form element.
attr()
This method is used to get and set the attribute of an HTML element.
prop()
This method is used to get and set the properties of an HTML element.
height()
This method is used to get and set the height of an HTML element.
width()
This method is used to get and set the width of an HTML element.
offset()
This method is used to get and set the offset position of an HTML element.
scrollLeft()
This method is used to get and set the position of the Horizontal scrollbar of an HTML element.
scrollTop()
This method is used to get and set the position of the Vertical scrollbar of an HTML element.
Just Getter Methods
HTML Methods
Description
innerHeight()
This method is used to get the height(i.e. Padding) of an HTML element.
outerHeight()
This method is used to get the height(i.e. Padding and Border) of an HTML element.
innerWidth()
This method is used to get the width(i.e. Padding) of an HTML element.
outerWidth()
This method is used to get the width(i.e. Padding and Border) of an HTML element.
Insert Methods
HTML Methods
Description
append()
This method is used to insert a content at the end of an HTML element.
prepend()
This method is used to insert a content at the beginning of an HTML element.
after()
This method is used to insert a content right after an HTML element.
before()
This method is used to insert a content right before an HTML element.
appendTo()
This method is used to insert HTML element at the end of an HTML element.
prependTo()
This method is used to insert HTML element at the beginning of an HTML element.
insertAfter()
This method is used to insert HTML element right after an HTML element.
insertBefore()
This method is used to insert HTML element right before an HTML element.
Delete Methods
HTML Methods
Description
remove()
This method is used to delete a content of an HTML element along with its child elements.
empty()
This method is used to delete the child elements from an HTML element.
detach()
This method is used to delete the element and its child elements from an HTML element.
removeProp()
This method is used to remove a property from an HTML element that is added by the prop() method.
removeAttr()
This method is used to remove an attribute from an HTML element.
Wrapper Methods
HTML Methods
Description
wrap()
This method is used to wrap an element across a selected HTML element.
wrapAll()
This method is used to wrap an element across all the selected HTML elements.
wrapInner()
This method is used to wrap an element inside an html element.
unwrap()
This method is used to remove the parent of the selected HTML element.
Other Methods
HTML Methods
Description
clone()
This method is used to make a copy of an existing HTML element.
replaceAll()
This method is used to replace HTML elements with new HTML elements.
replaceWith()
This method is used to replace an HTML element with new content.
❮❮ PREV
NEXT ❯❯