[jQuery] selector as variable
Hello,
i am just trying to read css-properties from div-elements on my site,
but i always get an undefined and cannot figure out what going wrong.
function showTop(id){
var pos = $jq("#mx-" + id);
alert($jq(pos).css('top'));
}
casavecchio