`
skzr.org
  • 浏览: 355896 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
社区版块
存档分类
最新评论

JQuery之旅连载1:JQuery之Hello World!

 
阅读更多

2010-02-22

 

开始JQuery之旅:(Get Starting...)

  1. 下载JQuery库:(downloading jquery from jquery.com )

    为了节约自身的带宽,把jquery放入google codes ,这样就可以利用google提供的带宽和空间来节省js库的带宽
  2. 编写hello.html(Hello World):

    <html>
    	<head>
    		<script type="text/javascript" src="http://extjs-skzr.googlecode.com/svn/trunk/extjs-skzr/js/jquery/src/jquery-1.4.2.js"></script>
    
    		<script type="text/javascript">
    		$(document).ready(function() {
    			alert("hello world!");
    		});
    		</script>
    	</head>
    </html>
    
      运行可以看到一个alert提示:hello world!

好了到这里可以看到jquery已经成功加入了你的页面了,以后会陆续发布JQuery使用的相关文章

分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

    JQuery的HelloWorld1

    JQuery的HelloWorld1

    Spring MVC 2.5 + JQuery HelloWorld Sample

    基于Spring MVC 2.5 和JQuery 实现的Ajax的一个HelloWorld例子,可以参照这个例子在其他Spring MVC工程加入ajax功能

    Jquery的HelloWorld

    NULL 博文链接:https://hqmwj.iteye.com/blog/1072585

    尚硅谷jQuery视频教程(25集)

    尚硅谷_佟刚_jQuery_HelloWorld【】10.尚硅谷_佟刚_jQuery_表单元素过滤选择器【】11.尚硅谷_佟刚_jQuery_第一天小结【】12.尚硅谷_佟刚_jQuery_选择器的练习【】13.尚硅谷_佟刚_jQuery_创建节点及插入节点【】14....

    jQuery经典入门教程(绝对详细)

    alert("Hello world!"); }); }); 上边的效果是点击文档中所有a标签时将弹出对话框,$("a") 是一个jQuery选择器,$本身表示一个jQuery类,所有$()是构造一个jQuery对象,click()是这个对象的方法,同理$(document...

    jquery.ajax-xslt:jQuery Ajax XSLT集成

    jquery.ajax-xslt jQuery Ajax XSLT集成这个插件使您可以通过xslt即时转换...Hello World!&lt;/ title &gt;&lt;/ test&gt; &lt;!-- test.xsl --&gt;&lt;? xml version = " 1.0 " ?&gt; &lt; xsl xss=removed xss=removed&gt;&lt;

    jquery.xml2json:XML到JSON插件(jQuery.xml2json)是一个脚本,您可以使用该脚本将简单的XML转换为JSON对象

    soap ( { url : 'http://my.server.com/soapservices/' , method : 'helloWorld' , data : { name : 'Remy Blom' , msg : 'Hi!' } , success : function ( soapResponse ) { soapResponse . toJSON ( ) ; } , error...

    node_hello_world:带有Node的Hello World应用程序,使用Express,ejs,Sass,JQuery和Bootstrap

    ## Hello world应用程序可以与Express,ejs,Sass,JQuery和Bootstrap一起使用的基本Node.js应用程序

    1. JQuery初体验--helloWorld

    NULL 博文链接:https://jellen129.iteye.com/blog/1714107

    Jquery学习手册

    $(html),比如$("&lt;span&gt;hello world&lt;/span&gt;"),返回jQuery对象,或者jQuery对象的集合 $(element),比如$(document.body),返回jQuery对象,或者jQuery对象的集合 $(*),所有元素 2、jQuery Object Accessors ...

    jQuery中文入门指南 翻译加实例 jQuery的起点教程

    它包括了一个简单的Hello World的例子,选择器和事件基础,AJAX、FX的用法,以及如何制作jQuery的插件。 这个指南包括了很多代码,你可以copy它们,并试着修改它们,看看产生的效果。 内容提要 安装 Hello jQuery...

    jQuery学习资料

    四.Hello World jQuery 4 五.启用Visual Studio 对jQuery的智能感知 6 六.在独立的.JS文件中启用脚本智能感知 8 七.总结 9 从零开始学习jQuery (二) 万能的选择器 9 一.摘要 9 二.前言 9 三.Dom对象和jQuery包装集 9...

    jquery.qrcode.js

    text : "hello world", //扫描二维码后显示的内容,可以直接填一个网址,扫描二维码后自动跳向该链接 width : "200", // //二维码的宽度 height : "200", //二维码的高度 background : "#ffffff", //二维码的后...

    jQuery七天入门指南

    资源名称:jQuery 七天入门指南内容简介:jQuery 初级教程——七天入门指南中文版, pdf...它包括了一个简单的Hello World的例子,选择器和事件基础,AJA 资源太大,传百度网盘了,链接在附件中,有需要的同学自取。

    jquery Moblie入门—hello world的示例代码学习

    1、需要运行JQuery Mobile 移动应用页面,需要下载JQuery Mobile 3个相关插件文件(有多版本),jquery.mobile-1.2.0.min.css、jquery-1.8.3.min.js、jquery.mobile-1.2.0.min.js,JQuery Mobile官网地址:...

    jQueryMobile之Helloworld与页面切换的方法

    本文实例讲述了使用jQueryMobile实现滑动翻页效果的方法。分享给大家供大家参考。具体分析如下: jQuery Mobile是jQuery 在手机上和平板设备上的版本。jQuery Mobile 不仅会给主流移动平台带来jQuery核心库,而且会...

    jQuery完全实例.rar

    jQuery中的一切都构建于这个函数之上,或者说都是在以某种方式使用这个函数。这个函数最基本的用法就是向它传递一个表达式(通常由 CSS 选择器组成),然后根据这个表达式来查找所有匹配的元素。 默认情况下, 如果...

    nutz初使用之MVC HelloWorld (netbeans html,jquery版)

    NULL 博文链接:https://yunhaifeiwu.iteye.com/blog/743368

    jQuery学习笔记之Helloworld

    jQuery是什么? jQuery由美国人John Resig创建,至今已吸引了来自世界各地的众多javascript高手加入其team,包括来自德国的Jörn Zaefferer,罗马尼亚的Stefan Petre等等。jQuery是继prototype之后又一个优秀的...

Global site tag (gtag.js) - Google Analytics