HTMLViewer if data on it

Is any way to now if HTMLViewer have data on it

Check its URL property. If it’s empty there’s probably not any page loaded.
Haven’t tried this though.

Thanks
but no works

How did you load its content?
LoadPage or did you set its URL property?

I fail to see how the HTMLViewer can contain anything without using at one point a default URL, a LoadURL or a LoadPage.

But if some other other magic was used anyway, here is a page :
http://stackoverflow.com/questions/926916/how-to-get-the-bodys-content-of-an-iframe-in-javascript

See the last method in the thread.