<div class="codetitle"> <span><a style="CURSOR: pointer" data="76749" class="copybut" id="copybut76749" onclick="doCopy('code76749')"><u>复制代码</u></a></span>代码如下:</div> <div class="codebody" id="code76749"> <br><html> <br><meta charset="utf-8">; <br> <br>.ppp{ <br>幅:600px; <br>高さ:300ピクセル; <br>背景色:ピンク; <br>} <br></style> <br><input type="text" id="ttt" name="" value="" maxlength="" placeholder="" /> <br />gt;<br />gt;<br /> <br><br><div class="ppp"></div><!-- --> <br><br><script src="jquery-1.7.2.min.js"></script> <br> <br>$("document").ready(function(){ <br>$("#ttt").keyup( <br>function(){$(".ppp:first").html(this.値)} <br>) <br>}); <br></script> <br></html> <br> </div>