Thank you guys! With the .offsetWidth and .offsetHeight property, It does exactly what I want. I was already working with getElementById, but when used with .width, the width have to be specified implicitely in the table tag. So thanks to you all
<Script language=javascript>
function test()
{...
Hi all, I would like to know if it is possible to retrieve the width and/or height of a table (pixels), the same that you can do with the .width property? I would like to build a windowResize function that adjust the window itself automatically to the width and height of a table that is...
I builded a little script that can calculate the difference of two prices.. The values should have decimals. When I try my function, it returns 479.9600000000003 instead of 479.96 ... Any ideas? Here's the script :
===========================================================
<script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.