获取,设置 html控件的值

代码
<input type="text" id="SessionID" value=""/>
<iframe id="IframeCallOut" src="" width="200px" height="200px"></iframe>

<script type="text/javascript" language="javascript">
document.all[
"SessionID"].value="1111";
document.getElementById(
"IframeCallOut").src=strHttp;
</script>
原文地址:https://www.cnblogs.com/hailexuexi/p/1947625.html