Click to See Complete Forum and Search --> : FireFox issue!!
Frank100
November 20th, 2009, 09:31 AM
This line of code is not working...
document.getElementById('txtCommissionBalance').innerText = valuefinal.toFixed(2);
Because of innerText ??
Please let me know where I am wrong.
Thank,
Bill Crawley
December 14th, 2009, 07:29 AM
If you install Firbug and the developer toolbar for firefox, you should be able to step your code in the browser and see what the browser is referencing (both are firefox add-ons)
Alsvha
December 15th, 2009, 03:42 AM
Isn't it "value" and not "innerText" you need to use to access a text fields text value?
Krishnaa
December 15th, 2009, 05:52 AM
It should be actually value, are you confusing yourself with innerHtml with innertext ?
nabeelisnabeel
January 1st, 2010, 03:01 AM
change it to
document.getElementById('txtCommissionBalance').value = valuefinal.toFixed(2);
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.