i want to calculate bounding box for div element via jquery/javascript.
i tried like this .
//Left side of box document.getElementById(\"myElement\").of
using JQuery:
myelement=$("#myelement") [myelement.offset().left, myelement.offset().top, myelement.width(), myelement.height()]