我得到的TypeError : undefined is not a function在Chrome和一个漂亮的堆栈跟踪如下。
"TypeError: undefined is not a function
at HTMLBodyElement.jQuery.event.dispatch (https://localhost/js/lib/jquery/jquery-1.10.2.min.js:5098:9)
at HTMLBodyElement.jQuery.event.add.elemData.handle (https://localhost/js/lib/jquery/jque
我正在向jquery选项卡控件中添加一些自定义选项卡。
$("#tabs").tabs("add","#tabContent0","CLICK ME TO CHANGE PAGE",0);
$('a[href="#tabContent0"]').attr("href","javascript:window.location='http://www.google.co.uk';");
是的,这是一个有点黑客,但这正是我所需要的,并提供了一个很好的方式,让