版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。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>