showing results for - "dom jquery"
Kelyan
05 Mar 2020
1$("#demo").text();                  // returns text content
2$("#demo").html();                  // returns content, including HTML markup
3$("#demo").val();                   // returns field value
4$("#demo").html('Hey <em>yo</em>'); // sets HTML content
5