案例:jquery案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js/jquery-1.11.1.min.js"></script>
5
<script>
6
$.noConflict();
7
jQuery(document).ready(function(){
8
  jQuery("button").click(function(){
9
    jQuery("p").text("jQuery 仍在运行!");
10
  });
11
});
12
</script>
13
</head>
14
15
<body>
16
<p>这是一个段落。</p>
17
<button>测试 jQuery</button>
18
</body>
19
</html>
20