日期:2014-05-16 浏览次数:20338 次
<!DOCTYPE HTML> <html> <head> <meta charset="gb2312" /> <title></title> <style> </style> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <table> <tbody> <tr> <td>123</td> </tr> </tbody> </table> <script> $('table tbody').empty(); </script> </body> </html>
------解决方案--------------------
$(table tr).empty();试过没?