jQuery.noConflict()のサンプル

JSコード
<script>
$.noConflict();
jQuery(document).ready(function(){
jQuery(“button”).click(function(){
jQuery(“p”).text(“jQuery test”);
});
});
</script>
</head>

<body>
<p>aaaa</p>
<button>click test</button>

Comments are closed.