ie下input的type属性为hidden问题
2015-06-01 00:00
295 查看
摘要: ie下input的type属性为hidden有时候ie是解析不正确的
ie下input的type属性为hidden有时候ie是解析不正确的.
今天碰到一个问题,服务器端返回一个div内容如下:
ie浏览器中解析完成以后生成的html为:div中只有一个input(test2).非常诡异的问题.
如此:替换 test和test1的type为text 设置display:none;问题解决
ie下input的type属性为hidden有时候ie是解析不正确的.
今天碰到一个问题,服务器端返回一个div内容如下:
<div> <input type="hidden" name="test" value="testVal"/> <input type="hidden" name="test1" value="testVal1"/> <input type="text" name="test2" value="testVal2"/> </div>
ie浏览器中解析完成以后生成的html为:div中只有一个input(test2).非常诡异的问题.
如此:替换 test和test1的type为text 设置display:none;问题解决
相关文章推荐
- CentOS7的yum安装mysql
- 什么是MIME type!
- JSP 动作
- JSP九大隐式对象
- MVC 增删改查
- 会话 httpSession
- SpringSide4搭建jar包问题
- firefox 选中变删除
- Java cookie 是如何工作的,Session与cookie的区别
- Qt学习之路(21): event()
- Qt学习之路(22): 事件过滤器
- Qt学习之路(23): 自定义事件
- Qt学习之路(24): QPainter
- Qt学习之路(25): QPainter(续)
- Qt学习之路(26): 反走样
- Qt学习之路(27): 渐变填充
- Qt学习之路(28): 坐标变换
- Qt学习之路(29): 绘图设备
- Qt学习之路(30): Graphics View Framework
- java 8新特性(一)