Menu
Assume I have (simplified) a code like:
`<div class=”foobar” style=”width: 632px; margin-right:0px “>
Now I want to get resp retrieve with javascript/jQuery the width of this element;
Keep in mind that the width value shown above could vary depending on occurency.
I miss a jQuery function like
`$(“.foobar”).getwidth();
resp. (more advanced to use in a comprehensive command).
`$(“.foobar”).width($(“.foobar”).getwidth() + 120px);
How can I achieve this?