Netscape: Changing the hyperlink text?
-
In Javascript, I can change the .innerText property of a hyperlink to adjust the visible text of said hyperlink in IE. For Netscape, we seem to have a .text property which can be read but when I try to amend it, the whole thing falls over. Does anyone have any idea how this can be done? Paul
-
In Javascript, I can change the .innerText property of a hyperlink to adjust the visible text of said hyperlink in IE. For Netscape, we seem to have a .text property which can be read but when I try to amend it, the whole thing falls over. Does anyone have any idea how this can be done? Paul
If you mean Netscape 6 and above then .innerText is supported. Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?
-
If you mean Netscape 6 and above then .innerText is supported. Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?
Paul Watson wrote: If you mean Netscape 6 and above then .innerText is supported. :confused: Hmmm... it's not working for me in NS7. Paul Watson wrote: Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. Thanks Paul, but "no" would have sufficed :laugh: Paul
-
Paul Watson wrote: If you mean Netscape 6 and above then .innerText is supported. :confused: Hmmm... it's not working for me in NS7. Paul Watson wrote: Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. Thanks Paul, but "no" would have sufficed :laugh: Paul
My apologies, I should have said
innerHTML
, notinnerText
. I just tested that and it works. Strangely innerText is valid, but it does not refresh the display in Netscape 7 or Firebird 0.6.1. Yet when I query the innerText it says it has been changed. Anyway, innerHTML does work. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand? -
My apologies, I should have said
innerHTML
, notinnerText
. I just tested that and it works. Strangely innerText is valid, but it does not refresh the display in Netscape 7 or Firebird 0.6.1. Yet when I query the innerText it says it has been changed. Anyway, innerHTML does work. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?Thanks Paul. I never cease to be amused how often I hear the word "Strangely" in conjunction with Netscape? :) P Paul