Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Working with HTML

Exactly like vanillaJS, there are mainly three functions that do the same thing (instead of vanillaJS, who has properties).

.text() =>Returns the innerText, or sets it if a string is passed as an argument

.html() => Returns the innerHTML, or sets it if a string is passed as  an argument

.val() => Returns the value of an input field, or sets it if a string is passed as an argument

Find more here!

And here!

 

Working with HTML

Kostas Diakogiannis
Module by Kostas Diakogiannis, updated more than 1 year ago
No tags specified