Wednesday, May 28, 2014

jQuery methods for DOM manipulation

  • text() - Sets or returns the text content of selected elements
  • html() - Sets or returns the content of selected elements (including HTML markup)
  • val() - Sets or returns the value of form fields

No comments:

Post a Comment