jQuery获取css值

var px = $('#sampleDiv').css('marginLeft');

var num= parseInt( $('#sampleDiv').css('marginLeft') );  

posted on 2016-01-26 10:23  土豆番茄  阅读(556)  评论(0编辑  收藏  举报

导航