Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Navigator 4


Message #1 by "Mark Irvine" <markpirvine@b...> on Wed, 5 Dec 2001 14:34:20 -0000
Robert,

Many thanks for your reply.  I had thought that this might be the case, but
I just wanted to make sure I wasn't missing something obvious - wouldn't be
the first time.

Mark
Nyman, Robert <Robert.Nyman@i...> wrote in message
news:126185@j...
>
> Sorry,
>
> innerHTML is not supported in Navigator 4.
> You can however reference the tag with document.links[tags name (not ID)],
> but I don't believe that you can change the href attribute.
>
>
> /Robert
>
>
>
> -----Original Message-----
> From: Mark Irvine [mailto:markpirvine@b...]
> Sent: den 5 december 2001 15:34
> To: javascript
> Subject: [javascript] Navigator 4
>
>
> Hi,
>
> I was wondering if anyone could tell me if it is possible to reference an
a
> tag using JavaScript in Navigator 4?  Basically what I would like to do is
> grab a reference to a specific a tag, using an id, then be able to change
> the innerHTML and HREF attributes.  For example:
>
> document["theLink"].innerHTML = "Some New Text";
> document["theLink"].href = "page1.asp";
>
> where
>
> <a id="theLink" href="/">Link Text Here</a>
>
> At present this idea works fine in IE4-IE6 and NN6 but not NN4, can anyone
> offer any assistance?
>
> Many, many thanx,
>
> Mark
>
>
>
>
>
>



  Return to Index