css的多值写法

$('#msm_send').css('background', '#4EAFE1').css('cursor','pointer');

 改为

$('#msm_send').css({"background":"#4EAFE1","cursor":"pointer"});

相关推荐