challach
15 years agoNew Contributor
How to get the fontWeight in Firefox 3.5
Hello All,
I am working on TC8.2, and testing a web application in IE and Firefox.
I used Object.currentStyle.fontWeight in IE which was working good.
Same script is not working in Firefox. I tried using style.fontWeight but there was no luck.
In web I found that getComputedStyle works for Firefox similar to currentStyle in IE. Please let me know how to use that method.
OR provide any other way to solve this problem.
Thanks in advance.
Chandra.
I am working on TC8.2, and testing a web application in IE and Firefox.
I used Object.currentStyle.fontWeight in IE which was working good.
Same script is not working in Firefox. I tried using style.fontWeight but there was no luck.
In web I found that getComputedStyle works for Firefox similar to currentStyle in IE. Please let me know how to use that method.
OR provide any other way to solve this problem.
Thanks in advance.
Chandra.