如题
------解决方案--------------------------------------------------------
dom 是指什么? xmlDocument?
------解决方案--------------------------------------------------------
<script type= "text/javascript ">
var input = document.createElement( "input ");
input.type= "text ";
input.readOnly = "true ";
document.body.appendChild(input);
</script>