You are including the variable within the selector expression, instead, you should use an explicit selector as he does. Tabs built with the latest Bootstrap 5 & Material Design 2.0. Hi test0101, test0101 now, i want cut off content of Regtab in HomePage.aspx and set it on regtab.ascx file. By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy. Problem is I don't know which .less file it is included. shown: This event fires on tab show after a tab has been shown. Things have changed in Bootstrap 4. Events. How do i change prettyCheckable checkbox with jquery, to check and uncheck? I have tried to change the active tab and failed to use the javascript onclick element correctly. Via JavaScript− you can enable tabs using Javscript as below − 1. The following code doesn't work for me - just the page is reloaded: