On Oct 13, 12:14 pm, Steve <stephen.jo...@googlemail.com> wrote:
> I am using Firefox and he following works fine in a .js file:
> var target = document.getElementById("myheader").innerHTML;
Leave off the ".innerHTML."
> But when I try
> var targetId = target.getAttribute("id"); or
Strings don't have a getAttribute method. This would fail in any