介绍一下js调用jquery的实例
js中:
function showBc(str){
$().show(str);
}
jq中:
jQuery(document).ready(function($) {
$.fn.show = function(id){alert(id);};
}
介绍一下js调用jquery的实例
js中:
function showBc(str){
$().show(str);
}
jQuery(document).ready(function($) {
$.fn.show = function(id){alert(id);};
}