码迷,mamicode.com
首页 > Web开发 > 详细

myeclipse2014 运行jquery

时间:2014-10-07 15:49:33      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   io   ar   java   文件   sp   

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

标签:des   style   blog   http   io   ar   java   文件   sp   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!