JQuery EsayUI ComboBox 在chrome 报 An invalid form control with name='' is not focusable.
2013-02-07 10:59
399 查看
<form method="post" name="userForm" url="**"> <input class="easyui-combobox" name="rId" required="true" data-options="valueField:'id',textField:'text',url:'url'" /> <input type="submit" class="buttons" value="保存"/> </form>
在chrome浏览器中会报:An invalid form control with name='' is not focusable.
将校验判断提前即可解决,修改如下
<form method="post" name="userForm" url="**"> <input class="easyui-combobox" name="rId" required="true" data-options="valueField:'id',textField:'text',url:'url'" /> <input type="button" class="buttons" value="保存" onclick="add()"/> </form> <script type="text/javascript"> function add(){ if ($('#userForm').form('validate')){ $('#userForm').submit(); } } </script>
相关文章推荐
- An invalid form control with name='xxx' is not focusable
- An invalid form control with name='xxx' is not focusable 的解决方案
- Chrome浏览器,An invalid form control with name='' is not focusable. 问题处理
- js报错:An invalid form control with name='content' is not focusable.
- An invalid form control with name='xxx' is not focusable
- An invalid form control with name='' is not focusable.
- Chrome浏览器,An invalid form control with name='' is not focusable. 问题处理
- An invalid form control with name='file[]' is not focusable.间接点击form表单的<input type="file">出现的问题
- Chrome浏览器,An invalid form control with name='' is not focusable. 问题处理
- Bean property 'xxx' is not writable or has an invalid setter method
- Spring配置文件加载时出现Bean property 'newscontentDAO' is not writable or has an invalid setter method错误的解决[00原创]
- ORA-15045: ASM file name '+FRA' is not in reference form
- Bean property XX' is not writable or has an invalid setter method
- Bean property 'productService' is not writable or has an invalid setter method. Does the parameter t
- Bean property 'esyerDao' is not writable or has an invalid setter method. Does the parameter type of
- Bean property XX' is not writable or has an invalid setter method
- The base class includes the field '...', but its type (...) is not compatible with the type of control (...)
- dubbo-admin-2.5.3 运行报错: Bean property 'URIType' is not writable or has an invalid,uritypewritable
- Bean property 'RegDao' is not writable or has an invalid setter method. Does the parameter type of t
- 关于Files' name is invalid or does not exist的解决方法