FunGetThe FunGet allows you to get and set the text and innherHTML content of any element
Method | Description | parameters |
---|---|---|
text() | Allow you to get and set the text content of an element | `text(selector , data)` |
html() | Allow you to get and set the innerHTML content of an element | `html(selector , data)` |
val() | Allow you to get and set the value of an input | `val(selector , data)` |
#
text
The text() is used to get or set the text content of an element
React / Next.js Show Source Code
My Title
Aliquid, at ex, similique voluptas dolorem laboriosam assumenda ipsum labore magni quia quae mollitia minima atque debitis, quis pariatur nesciunt odio facilis.#
html
The html() is used to get or set the html DOM of an element
React / Next.js Show Source Code
My Title
Aliquid, at ex, similique voluptas dolorem laboriosam assumenda ipsum labore magni quia quae mollitia minima atque debitis, quis pariatur nesciunt odio facilis.
#
Get & set input value
The val() is used to get or set the value of an input element
React / Next.js Show Source Code