bootstrap dropdown-toggle javascript code example

Example: dropdown bootstrap

Bootstrap Dropdown menu with seach button<div class="collapse navbar-collapse justify-content-between" id="navbarCollapse">
            <div class="navbar-nav">
                <div class="nav-item dropdown">
                    <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">MANAGEMENT</a>
                    <div class="dropdown-menu">
                        <a href="#" class="dropdown-item">Man</a>
                        <a href="#" class="dropdown-item">Man</a>
                        <a href="#" class="dropdown-item">Man</a>
                    </div>
                </div>
            </div>
            
            <div class="collapse navbar-collapse justify-content-between" id="navbarCollapse">
            <div class="navbar-nav">
                <div class="nav-item dropdown">
                    <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">PROJECT</a>
                    <div class="dropdown-menu">
                        <a href="#" class="dropdown-item">Pro</a>
                        <a href="#" class="dropdown-item">Pro</a>
                        <a href="#" class="dropdown-item">Pro</a>
                    </div>
                </div>
            </div>

            <div class="navbar-nav">
                <a href="#" class="nav-item nav-link">LOGIN/REGISTER</a>
            </div>
        </div>
    </nav>
</div>

Tags:

Misc Example