What I really need is a function like the hover-element in Firebug, where we can get the selected HTML.
In our program we will load an URL, and that URL will open in an iFrame. Here we want to hover the elements, and when the user clicks on a certain element, we want the HTML source for that particular element.
So:
- Can you interact (get hovered html) with the iFrame, so you get the selected HTML?
Here is something like you wanted. It will run in a div called sourcecode.
However you can put the sourcecode div in an iframe if you want.