LIVE Public of India  •  Pan-India Citizen Newsroom  •  Verified Reporting
support@publicofindia.in Membership
BREAKING
Submit your story — verified, policy-led, privacy-first publishing Hindi & English news updated every 15 minutes from across India Members get priority review, profile badge & creator dashboard Public of India is a private platform — not a government website Submit your story — verified, policy-led, privacy-first publishing Hindi & English news updated every 15 minutes from across India Members get priority review, profile badge & creator dashboard Public of India is a private platform — not a government website
Home  /  TECHNOLOGY  /  HTML DOM nodeValue Property
TECHNOLOGY Verified

HTML DOM nodeValue Property

India 13h ago Source: publicofindia

The HTML DOM nodeValue Property is used to describe the property of a given node. It is used to set or get the nodeValue in Any Html document. Prerequisites DOM (Document Object Model)Syntaxlet x = document.getElementById("nodeId").firstChild;x.nodeType;x.nodeName;x.nodeValue;Parameters: No parameters are required.Return value: The HTML nodeValue property returns the following type of values null:

This is a summary. For the full story, refer to the original source. Public of India presents verified citizen-relevant reporting.