Kako pomoću JavaScripta saznati širinu nekog elementa?
Primjer:
imam <DIV id="center">. Vodeći se uputstvom probao sam da to postignem pomoću: "document.ids.center.width", ali uvijek dobijem grešku "document.ids has no properties".
Unaprijed hvala.
Primjer:
imam <DIV id="center">. Vodeći se uputstvom probao sam da to postignem pomoću: "document.ids.center.width", ali uvijek dobijem grešku "document.ids has no properties".
Unaprijed hvala.
Potpis
"I'd take the awe of understanding over the awe of ignorance any day."
- Douglas Adams
- Douglas Adams