Click the button to get the value of the onclick attribute of the button element.

Note: Internet Explorer 8 and earlier does not support the getNamedItem method.