jQuery获取css值 var px = $(\'#sampleDiv\').css(\'marginLeft\'); var num= parseInt( $(\'#sampleDiv\').css(\'marginLeft\') ); 相关文章: