$.noConflict();
jQuery(document).ready(function($) {
// Code that uses
jQuery's $ can follow here.
});
// Code that uses other library's $ can
follow here.
Link : http://api.jquery.com/jQuery.noConflict/
Blog นี้ทำขึ้นเพื่อรวบรวมประสบการณ์ของผมที่เจอมานะครับ เก็บเอาไว้ จะได้แก้ไขปัญหาเดิมๆ ได้ทันที
$.noConflict();
jQuery(document).ready(function($) {
// Code that uses
jQuery's $ can follow here.
});
// Code that uses other library's $ can
follow here.
No comments:
Post a Comment