Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
A demonstration of how to access a DIV element
This is a div element.
Click the button to get the content of the div element.
Try it