首页 > Web开发 > 详细

myeclipse2014 运行jquery

时间:2014-10-07 14:18:13      阅读:295      评论:0      收藏:0      [点我收藏+]

1.建立一个tomcat6.0项目文件konghao_jquery62

2.拷贝jquery-1.8.3.js 到项目目录中WebRoot

工程目录

bubuko.com,布布扣

3.建立一个index.html文件

<!DOCTYPE html>
<html>
  <head>
    <title>hello_jqueryl.html</title>
   
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta name="content-type" content="text/html; charset=UTF-8">
   
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<script type="text/javascript" src="jquery-1.8.3.js"></script>
<script>
    $(function(){
    alert("sss");
    });
</script>   
  </head>
 
  <body>
          本行是HTML中的文字。 <br>
  </body>
</html>

运行结果

bubuko.com,布布扣

myeclipse2014 运行jquery

原文:http://www.cnblogs.com/elite-2012/p/4009213.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!