jQuery Miscellaneous Methods
Posted: Fri Oct 27, 2023 9:14 am
jQuery Miscellaneous Methods
jQuery Misc Methods
Method
Description
data()
Attaches data to, or gets data from, selected elements
each()
Execute a function for each matched element
get()
Get the DOM elements matched by the selector
index()
Search for a given element from among the matched elements
$.noConflict()
Release jQuery's control of the $ variable
$.param()
Create a serialized representation of an array or object (can be used as URL query string
for AJAX requests)
removeData()
Removes a previously-stored piece of data
size()
Removed in version 3.0. Use the length
property instead
toArray()
Retrieve all the DOM elements contained in the jQuery set, as an array
★
+1
Reference: https://www.w3schools.com/jquery/jquery_ref_misc.asp
jQuery Misc Methods
Method
Description
data()
Attaches data to, or gets data from, selected elements
each()
Execute a function for each matched element
get()
Get the DOM elements matched by the selector
index()
Search for a given element from among the matched elements
$.noConflict()
Release jQuery's control of the $ variable
$.param()
Create a serialized representation of an array or object (can be used as URL query string
for AJAX requests)
removeData()
Removes a previously-stored piece of data
size()
Removed in version 3.0. Use the length
property instead
toArray()
Retrieve all the DOM elements contained in the jQuery set, as an array
★
+1
Reference: https://www.w3schools.com/jquery/jquery_ref_misc.asp