10.02.2018 Views

js_tutorial

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Javascript<br />

Ex: document.importNode( importedNode, deep)<br />

Example<br />

This is very easy to manipulate ( Accessing and Setting ) document element<br />

using W3C DOM. You can use any of the methods like getElementById,<br />

getElementsByName, or getElementsByTagName.<br />

Here is an example to access document properties using W3C DOM method.<br />

<br />

<br />

Document Title <br />

<br />

<br />

<br />

<br />

<br />

This is main title<br />

Click the following to see the result:<br />

<br />

<br />

<br />

<br />

<br />

335

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!