这块有点缺陷,恶补下,这几天,
<html> <head> <title>jquery</title> <script src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#bt1').click(function(){ $('#adc').load('a.php?id=1'); }) }); </script> </head> <body> <button type="button">Click me</button> <a href="www.baidu.com">adc</a> <button id="bt1" type="button">acb</button> <p id="adc">abc</p> </body> </html>