When this method is used to return content, it returns the text content of all matched elements (HTML markup will be removed). We will done that into 3 sections., in the first section we will create the structure by using only HTML in the second section we will design minimally to make it attractive by using simple CSS and in the third section we will add the JavaScript code to … 2. Tutorial: Change a DIV's text using JQuery. - This Interests Me Using the innerHTML attribute. So, the code can be shortened to: 3.
Hello Wrold!