IE vs. Firefox - javascript

They have: 330 posts

Joined: Apr 2000

I have the following functions being used in IE and they work fine. I launch the same tool in Firefox and nothing happens. Did I write something incorrectly? Does Firefox have some different way of interpreting javascript?

Here's the line of code that isn't working for me.

var nFlushOdds = '90%'
secFlushOdds.innerText = nFlushOdds;
'

Thanks for your help.

They have: 330 posts

Joined: Apr 2000

fixed it, thanks

They have: 330 posts

Joined: Apr 2000

Incase someone else has this problem, Firefox only uses innerHTML, not innerText.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.