`
txf2004
  • 浏览: 6982126 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

jQuery_How_jQuery_Works

阅读更多

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/mayongzhan - 马永占,myz,mayongzhan

<!DOCTYPE html PUBLIC "-//W<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="3" unitname="C">3C</chmetcnv>//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-Language" content="utf-8" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="author" content="马永占(MyZ)" />

<meta name="Copyright" content="马永占(MyZ)" />

<meta name="description" content="" />

<meta name="keywords"content="" />

<link rel="icon" href="" type="image/x-icon" />

<link rel="shortcut icon" href="" type="image/x-icon" />

<link href="" rel="stylesheet" type="text/css" />

<title> </title>

<style type="text/css">

a.test { font-weight: bold; }

div.protected { height:50px;width:50px;background:#FF0000; }

</style>

<script type="text/javascript" src="jquery-<chsdate w:st="on" isrocdate="False" islunardate="False" day="30" month="12" year="1899">1.2.6</chsdate>.js"></script>

</head>

<body>

<!--<a href="http://jquery.com/">Test</a>-->

<!--<a href="http://blog.csdn.net/mayongzhan/" class="clickme">class = clickme</a>

<a href="http://blog.csdn.net/mayongzhan/" class="hideme">class = hideme</a>-->

<!--<div class="protected">div</div>-->

<!--<div id="some.id">special_1</div>

<div id="some[id]">special_2</div>-->

<script type="text/javascript">

$("document").ready(function(){

////////////////////////////////////////////////////////////////////////////////////////

//$("a").click(function(event){

// alert("Thanks for visiting!");

//});

////////////////////////////////////////////////////////////////////////////////////////

//$("a").click(function(event){

// alert("As you can see, the link no longer took you to jquery.com");

// event.preventDefault();

//});

////////////////////////////////////////////////////////////////////////////////////////

//$("a").click(function(event){

// event.preventDefault();

// $(this).hide("slow");

//});

////////////////////////////////////////////////////////////////////////////////////////

//$("a").addClass("test");

////////////////////////////////////////////////////////////////////////////////////////

//$("a").addClass("test");

//$("a").removeClass("test");

////////////////////////////////////////////////////////////////////////////////////////

//$("a").addClass("test").show().html("foo");

////////////////////////////////////////////////////////////////////////////////////////

//$("a")

//.filter(".clickme")

//.click(function(){

// alert("You are now leaving the site.");

// //return false; //这个和event.preventDefault();等效

//})

//.end()

//.filter(".hideme")

//.click(function(){

// $(this).hide();

// return false;

//})

//.end();

////////////////////////////////////////////////////////////////////////////////////////

//$.get('jqueryall.php', function(data){

// myCallBack(data);

//});

//function myCallBack(data){

// alert(data);

//}

////////////////////////////////////////////////////////////////////////////////////////

});

</script>

</body>

</html>

分享到:
评论

相关推荐

    jquery_freezeheaders.js

    How it works? Simple. It takes a TABLE, pulls the THEAD and TBODY out of it and puts them into two separate DIVs. Now, the DIV which THEAD (header-div) goes is overflow restricted. The DIV the TBODY ...

    Practical jQuery(Apress,2015)

    Get a fundamental perspective on how jQuery works, how to understand, select, and build your own plug-ins, and how to make sure your projects run at the peak of their potential performance using ...

    [jQuery移动开发].(jQuery.Mobile).Jon.Reid.文字版

    接着,“How jQuery Mobile Works”(jQuery Mobile的工作原理)可能深入讲解了该框架是如何运行和处理移动设备上的用户交互的。 书中提到了“Create Your First jQuery Mobile Application”(创建你的第一个...

    最佳jQuery教程和实例.docx

    - **"How jQuery Works"**: 这是一个基础教程,介绍jQuery的工作原理和基本用法,适合初学者入门。 - **"15 Days Of jQuery"**: 该教程旨在15天内帮助用户从零开始掌握jQuery,包括基础和进阶内容。 - **"Learning...

    Manning jQuery in Action.pdf

    The book explains how jQuery facilitates this separation by enabling the use of event delegation and by making it easy to add behavior to elements without hard-coding JavaScript directly into the ...

    jqueryjquery

    Query UI is a widget and interaction library built on top of the jQuery JavaScript Library, ... This guide is designed to get you up to speed on how jQuery UI works. Follow along below to get started.

    Responsive Web Design with jQuery(PACKT,2013)

    You can now create a responsive website swiftly that works richly in any device a user might possess. “Responsive Web Design with jQuery” is a practical book focused on saving your development ...

    jQuery完全实例.rar

    jQuery1.2 API 中文版折叠展开折叠全部展开全部 英文说明 核心jQuery 核心函数 jQuery(expression,[context]) jQuery(expression,[context]) 这个函数接收一个包含 CSS 选择器的字符串,然后用这个字符串去匹配一组...

    jqGrid 离线帮助手册

    How it Works My First Grid Basic Grid Conventions Options colModel Options Data manipulation Events Methods HOWTO Navigating Pager Navigator Custom Buttons HOWTO Formatter Predefined Formatter ...

    jqGrid 离线帮助手册 来源官方wiki

    How it Works My First Grid Basic Grid Conventions Options colModel Options Data manipulation Events Methods HOWTO Navigating Pager Navigator Custom Buttons HOWTO Formatter Predefined Formatter ...

    Designing with Progressive Enhancement: Building the Web that Works for Everyone

    Detailed techniques to transform semantic HTML into interactive components like sliders, tabs, tree controls, and charts, along with downloadable jQuery-based widgets to apply directly in your ...

    recent_contacts:在邮件撰写中显示最近的联系人

    特征 : 在撰写邮件时显示最近的联系人( task="mail" & action="compose" )####How it works:在撰写邮件时,如果您单击空搜索输入,则附加查询是发送到 IMAP 服务器以查找 3 个最近的联系人并显示它们。...

    Test Driven Development with Python 2nd edition 2017 pdf

    In the process, you’ll learn the basics of Django, Selenium, Git, jQuery, and Mock, along with current web development techniques. If you’re ready to take your Python skills to the next level, this ...

    最土团购商业wap版测试可以

    inflating: zuitu/static/img/faq-how-it-works1.gif inflating: zuitu/static/img/faq-how-it-works2.gif inflating: zuitu/static/img/faq-how-it-works3.gif inflating: zuitu/static/img/how-it-works1.gif ...

    Learning Bootstrap 4 - Second Edition

    Find out how to extend the capabilities of Bootstrap with a huge range of tools and plugins, including jQuery, Do more with JavaScript and learn how to create an enhanced user experience Book ...

    Knockout API 中文版

    Whenever the array changes, the UI changes to match (you don’t have to figure out how to inject new TRs or where to inject them). The rest of the UI stays in sync. For example, you can declaratively...

Global site tag (gtag.js) - Google Analytics