How can I get the complete HTML code of the element I'm mouseovering or clicking?
Using document.onmouseover = function(e){
can I get the full underlying HTML code of the element which triggered the event?
Right now, I am able to get the tag name or id or whatever. What I would like is the whole code.
For example; if I'm mouseovering a table, I would like to get the string: <table><tr><td></td></tr></table>
Is this possible?