यदि पैराम्स किसी पैराग्राफ के लिए एक DOM ऑब्जेक्ट है, तो पैराग्राफ में पाठ बदलें निम्न में से कौन सा सही सिंटैक्स है?
If params is a DOM object for a paragraph, which of the following is a correct syntax to change the text in the paragraph ?
A
params.value = “Updated Text”;
B
params.content=”Updated Text”
C
params.nodeValue = “Updated Text”;
D
params.firstChlid.nodeValue = “Updated Text”;
Explanation
Correct Answer: D) params.firstChlid.nodeValue = “Updated Text”;