怎么去掉jquery mobile 自动添加的样式

在jquery.js导入后,在jquerymobile导入前使用下面的脚本加上data-role="none". 

 
    1. $("input").attr('data-role','none');  
    2. $("select").attr('data-role','none');  
posted @ 2015-12-02 14:33  szchenrong  阅读(122)  评论(0)    收藏  举报