Chrome浏览器,An invalid form control with name='' is not focusable. 问题处理
2013-03-27 13:55
399 查看
Chrome浏览器要重点控制是必需的,但仍然是空的,所以,它可以弹出消息“请在此输入”。但是,如果该控件隐藏在Chrome浏览器要弹出消息,那就是在表单提交的时间,Chrome浏览器无法集中控制,因为它是隐藏的,因此表格后,提交。
因此,要解决这个问题,通过javascript隐藏控件时,我们也必须删除'required'的属性,控制
$("input[required]:hidden").removeAttr("required");//兼容chrome
http://www.cnblogs.com/fengbing/archive/2012/08/27/2658660.html
因此,要解决这个问题,通过javascript隐藏控件时,我们也必须删除'required'的属性,控制
$("input[required]:hidden").removeAttr("required");//兼容chrome
http://www.cnblogs.com/fengbing/archive/2012/08/27/2658660.html
相关文章推荐
- Chrome浏览器,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='' is not focusable.
- An invalid form control with name='file[]' is not focusable.间接点击form表单的<input type="file">出现的问题
- An invalid form control with name='xxx' is not focusable
- JQuery EsayUI ComboBox 在chrome 报 An invalid form control with name='' is not focusable.
- An invalid form control with name='xxx' is not focusable 的解决方案
- An invalid form control with name='xxx' is not focusable
- js报错:An invalid form control with name='content' is not focusable.
- An invalid form control with name='' is not focusa
- quartz使用时遇到的问题Bean property 'xxx' is not writable or has an invalid setter method. Did you mean 'xxx
- Sys.InvalidOperationException: A control is already associated with the element 错误处理方法
- 异常处理:Bean property 'XXX' is not writable or has an invalid setter method.
- PHPExcel的exception 'Exception' with message 'The filename is not recognised as an OLE file问题解决
- 关于chrome浏览器下使用js读取本地json文件时提示“Origin null is not allowed by Access-Control-Allow-Origin”问题
- Bean property 'username' is not readable or has an invalid getter method
- Android App Not Install. An existing package by the same name with a conflicting signature is alread
- (mavon问题)M2_HOME is set to an invalid directory
- 解决 an app id with identifier is not available. please enter a different string
- Python 解决 :NameError: name 'reload' is not defined 问题