http://www.1000year.com/blog/834/
http://blog.csdn.net/wyqlxy/article/details/6728934
var offsettop=$("#form1 table").offset().top; var offsetleft=$("#form1 table").offset().left; $("#prompt").css({position: "absolute",'top':offsettop,'left':offsetleft,'z-index':2});