相关疑难解决方法(0)

jquery删除html5必需属性

嗨,我想用jquery删除'required =""属性.

<input 
   type="text" 
   id="edit-submitted-first-name" 
   name="submitted[first_name]" 
   value="" 
   size="30" 
   maxlength="128" 
   required=""
>
Run Code Online (Sandbox Code Playgroud)

jquery attributes

61
推荐指数
4
解决办法
10万
查看次数

标签 统计

attributes ×1

jquery ×1