xxxxxxxxxx
<!DOCTYPE html>
<html>
<title>jQuery - $.noConflict();模式示例 - 基础教程(div.cn)</title>
<head>
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script>
$.noConflict();
jQuery(document).ready(function(){
jQuery("button").click(function(){
jQuery("p").text("jQuery working perfectly!!!");
});
});
</script>
</head>
<body>
<p>这是一个段落</p>
<button>测试jQuery </button>
</body>
</html>