且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

jQuery自定义函数在母版页上不起作用

更新时间:2022-12-13 13:48:43

(文档).ready(
(document).ready(function () {


(# btnTest').click(函数(){ 尝试 {
('#btnTest').click(function () { try {


.myCustomMethod(' ' popup.aspx' 600 400 ); } 捕获(e){ 警报(e); } }); });
.myCustomMethod('testing title!', 'popup.aspx', 600, 400); } catch (e) { alert(e); } }); });


我的js代码是


my js code is

(function (