返回首页
ie下对select的innerHTML直接赋值是不起作用的
1 2 3 4 5 6 7 8 9
<html> <body> <select id="test"> </select> </body> <script> document.getElementById('test').innerHTML = '<option>动感超人</option>'; </script> </html>
Published 2008年08月13日 & Filed in web dev
Tags: javascript
Write comment - Trackback