Disable bootstrap tab clicks

后端 未结 9 1185
走了就别回头了
走了就别回头了 2021-01-14 15:24

I am using bootsrap tabs for a registration form , I changed navigation of tabs using onclick event of next and previous button . But still that tabs click works and being

9条回答
  •  余生分开走
    2021-01-14 16:02

    I, had this problem for a while.

    Remove the data-toggle = ..

    to do conditionnaly by javascript Give tabs, Ids in the tag document.getElementById(tabId)[0].setAttribute("data-toggle", "");

提交回复
热议问题