Unable To Calculate And Display Tb In Javascript
i have a javascript code which displays different values based on arrow moving. I can't explain precisely so please see image. http://imgur.com/WjG60t1 I have managed to change eve
Solution 1:
Since #bandwith is a <span> element, you can change its content with .innerHtml, not .value.
UPDATE: So I guess you should write something like:
_('bandwidth').innerHTML = Math.round(packages[new_value][3] / (1024*1024)) + " TB";
Post a Comment for "Unable To Calculate And Display Tb In Javascript"