You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: page/using-jquery-core/manipulating-elements.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ There are many ways to can change an existing element. Among the most common tas
16
16
***`$.fn.attr`** - Get or set the value of the provided attribute.
17
17
***`$.fn.width`** - Get or set the width in pixels of the first element in the selection as an integer.
18
18
***`$.fn.height`** - Get or set the height in pixels of the first element in the selection as an integer.
19
-
***`$fn.position`** - Get an object with position information for the first element in the selection, relative to its first positioned ancestor. _This is a getter only_.
19
+
***`$.fn.position`** - Get an object with position information for the first element in the selection, relative to its first positioned ancestor. _This is a getter only_.
20
20
***`$.fn.val`** - Get or set the value of form elements.
21
21
22
22
Changing things about elements is trivial, but remember that the change will affect all elements in the selection. If you just want to change one element, be sure to specify that in the selection before calling a setter method.
0 commit comments