myeclipse2014 running jquery

Source: Internet
Author: User

1. Create a tomcat6.0 project file konghao_jquery62

2. Copy the jquery-1.8.3.js to the project directory Webroot

Project Catalogue

3. Create a index.html file

<! DOCTYPE html>
<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>

<body>
The bank is the text in the HTML. <br>
</body>

Run results

myeclipse2014 running jquery

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.