3wschool TIY
(请在下面的文本框中编辑您的代码,然后单击此按钮测试结果。)
编辑您的代码:
<html> <head> <script type="text/javascript" src="../jquery/jquery.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $("#id100").height("200px"); }); }); </script> </head> <body> <div id="id100" style="background:yellow;height:100px;width:100px"> HELLO</div> <div id="id200" style="background:yellow;height:100px;width:100px"> 3wschool</div> <button type="button">请点击这里</button> </body> </html>
查看结果: