<textarea rows="20" cols="70" style="resize: none;" id="inputfeild">
</textarea>
<iframe src="about:blank" id="f" name="outputfeild" width="700" height="300" id="output">
</iframe>
<br>
<input type="submit" value="submit" id="OK">
<br>
<script type="text/javascript">
OK.onclick=function(){
var ifr=document.getElementById("f").contentWindow.document.body;
ifr.innerHTML=document.getElementById("inputfeild").value;
}
</script>
</textarea>
<iframe src="about:blank" id="f" name="outputfeild" width="700" height="300" id="output">
</iframe>
<br>
<input type="submit" value="submit" id="OK">
<br>
<script type="text/javascript">
OK.onclick=function(){
var ifr=document.getElementById("f").contentWindow.document.body;
ifr.innerHTML=document.getElementById("inputfeild").value;
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货