HighDots Forums  

Re: innerHTML won't work with Firefox

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: innerHTML won't work with Firefox in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eo
 
Posts: n/a

Default Re: innerHTML won't work with Firefox - 05-30-2007 , 11:02 AM






On May 30, 3:41 pm, Jang <jangc... (AT) gmail (DOT) com> wrote:
Quote:
On May 30, 7:58 am, Eo <ghsu2... (AT) yahoo (DOT) com> wrote:





On May 30, 2:55 pm, Jang <jangc... (AT) gmail (DOT) com> wrote:

On May 30, 7:43 am, Eo <ghsu2... (AT) yahoo (DOT) com> wrote:

function MoreInfo(id)
{
AId=id;
FullPage ="<? echo $fullpage; ?>id=" + AId;
coId = document.getElementById('Coinfo'+AId);

if(document.all("tdStatus" + AId).innerHTML=="свеш") {

Don't use document.all. It's not standard (only with IE). Use
document.getElementById();

Can you show me example please?

Just substitute document.all with document.getElementById everywhere
in your code. You can probably even do a search and replace in your
editor.- Hide quoted text -

- Show quoted text -
Thank You Jang!
it works.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.