0
点赞
收藏
分享

微信扫一扫

jquery如何设置控件位置


http://www.1000year.com/blog/834/

var offsettop=$("#form1 table").offset().top;   
         var offsetleft=$("#form1 table").offset().left;  
         $("#prompt").css({position: "absolute",'top':offsettop,'left':offsetleft,'z-index':2});


 

举报

相关推荐

0 条评论