Click to See Complete Forum and Search --> : JS onMouseOver this.innerText


PhilgB
05-11-2003, 11:12 AM
On a page I have a couple links where I want whatever is between the <a> tags to show up in the status bar.

<a href="#" onmouseover="window.status=this.innerText; return true">blah</a>

This works fine in IE, but nothing else.

PhilgB
05-11-2003, 05:22 PM
thanks

Kitchensink108
06-23-2005, 08:58 AM
A little over two years later...
use "innerHTML" instead.

Note: sorry for resurrecting a horribly ancient topic, but, well, I felt the need.

scragar
06-23-2005, 09:07 AM
arg!

the need must have been very strong for you to resurect such an old thread without anything to add other than that innerText went out with the idea that the earth was flat.