📜  jquery noconflict - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:55.943000             🧑  作者: Mango

代码示例3
// Do something with the new jQuery
dom.query( "div p" ).hide();
 
// Do something with another library's $()
$( "content" ).style.display = "none";
 
// Do something with another version of jQuery
jQuery( "div > p" ).hide();