你的位置:首页 > 软件开发 > Java > IE10/11克隆textarea时 bug

IE10/11克隆textarea时 bug

发布时间:2016-03-16 08:00:12
重现代码<!doctype html><html> <head> <meta charset="UTF-8"> </head> <body> <script typ ...

IE10/11克隆textarea时 bug

重现代码

<!doctype html><html>  <head>    <meta charset="UTF-8">  </head>  <body>    <script type="text/javascript">			var ta= document.createElement('textarea')			ta.placeholder = 'text'			var clone = ta.cloneNode(true)			document.body.appendChild(clone)			alert(clone.value)    </script>  </body></html>

原标题:IE10/11克隆textarea时 bug

关键词:ie

ie
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。