Popularly asked jQuery interview questions are how to get the text contents and set the text contents of an element using jQuery?

Text () method is used to get combined text contents of all matched elements, and text(Val) is used to set those text contents. 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *