</script> <style type="text/css"> input{width:100px;height:70px;color: red;background-color: azure;} </style> <script type="text/javascript"> $(function() { $("input").click(function() { alert($("input").attr("width","height")); }) }) </script> </head> <body> <input type="button" value="显示"/> </body>
添加回答
举报
0/150
提交
取消