I need to use the offset coordinates of one position to dynamically set the position of the second element ("#test").
var p = $("#desired_equity"); var position = p.offset(); $(document).ready(function(){ $('#test').css("left", position.left); });
I'm not sure I'm wrong here, any ideas?
Thomas
source share