Horje
on click a button triger a tab bootstrap 5 Code Example
on click a button triger a tab bootstrap 5
$('.select-buttons__wrapper a').each(function(){
    $(this).on('click', function(e){
      e.preventDefault();
      var tabEle = $(this).attr('href');
      $(tabEle).siblings().removeClass('active').removeClass('show');
      $(tabEle).addClass('active show');
      var relativeLink = $('[href="'+tabEle+'"');
      relativeLink.parent().siblings().find('a').removeClass('active');
      relativeLink.addClass('active');
    })
  });
Source: github.com




Javascript

Related
Admobs For Ios Code Example Admobs For Ios Code Example
how to delete props from url Code Example how to delete props from url Code Example
parsley custom error message Code Example parsley custom error message Code Example
jackson jsonpath Code Example jackson jsonpath Code Example
return jsonresult with error Code Example return jsonresult with error Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7