Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You need to get or set the text that is contained inside of an HTML element(s).
jQuery provides the text() method for getting and setting the text content of elements. In the following code, we use this method to set and then get the text value of the <p> element found in the HTML document: