jQuery Get Content and Attributes

jQuery Get Contents text(), html(), and val() methods are used for changing and manipulating HTML elements and attributes.

Code :