日期:2014-05-17 浏览次数:21024 次
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>js测试</title> <style type="text/css"> </style> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script> <script> $(document).ready(function() { //代码 alert("aaabbb"); }); </script> <script> </script> </head> <body> <ul> </body> </html>
------解决方案--------------------
围观中。。。。。。。。。。。。。。。。。。。
------解决方案--------------------
直接
<script type="text/javascript" src="http://www.google.com/jsapi"></script> <script language="javascript"> google.load("jquery", "1.3.1"); </script> <script language="javascript"> $(document).ready() </script>