Edit This Code:
See Result »
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
Result: