开发者

How do I make jQuery UI tabs unclickable?

I am using jQuery UI tabs to render tabs. I need to make the tabs unclickable so that when a ta开发者_开发百科b is clicked, nothing happens. How can I do that?


you can disable the tabs

 //getter
    var disabled = $( ".selector" ).tabs( "option", "disabled" );
    //setter
    $( ".selector" ).tabs( "option", "disabled", [1, 2] );

http://docs.jquery.com/UI/Tabs

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜