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>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值