|
-
November 20th, 2009, 10:31 AM
#1
FireFox issue!!
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,
Last edited by Frank100; September 23rd, 2010 at 04:19 AM.
-
December 14th, 2009, 08:29 AM
#2
Re: FireFox issue!!
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)
If you find my answers helpful, dont forget to rate me 
-
December 15th, 2009, 04:42 AM
#3
Re: FireFox issue!!
Isn't it "value" and not "innerText" you need to use to access a text fields text value?
-
December 15th, 2009, 06:52 AM
#4
Re: FireFox issue!!
It should be actually value, are you confusing yourself with innerHtml with innertext ?
Regards,
Ramkrishna Pawar
-
January 1st, 2010, 04:01 AM
#5
Re: FireFox issue!!
change it to
Code:
document.getElementById('txtCommissionBalance').value = valuefinal.toFixed(2);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|