If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?
1.New Text?
2.para1.value="New Text";
3.para1.firstChild.nodeValue= "New Text";
4.para1.nodeValue="New Text";
Posted Date:-2021-02-20 13:15:56