How can I know that Yii has linked a specific bootstrap jquery plugin in my application?

I am developping an application using bootstrap; the problem is the dropdown of bootstrap is not working well so I wound if it loaded in my application.

So how can I know a specific bootstrap plugin is there or how can I tell yii that I want to use this plugin of bootstrap?

Here is the simplest thing I tried:

My Html:




<a id="anotherbut">Laumch</a>

<a id="but" data-toggle="dropdown">Drop it down</a>

<ul class="dropdown-menu">

  <li>Bonjour</li>

  <li>Hello</li>

  <li>Hi Mr</li>

</ul>

My Javascript :


$("body").on("click","#anotherbut",function(){

$("#but").dropdown("toggle");

});

But it doesn’t work.

just check the view source if it includes bootstrap css and js also check if those are linked properly then it means its included. rest you don’t need to include any js code to run default bootstrap functionalities

It’s included and even modal is working well but dropdown is not working; I can even see the code reacting but instead of changing on the #but element


aria-expended="false"

to


aria-expended="true"

it still keeping false and on the div(wrapper) the class

;


<a id="anotherbut">Laumch</a>

<div class="dropdown">

<a id="but" data-toggle="dropdown">Drop it down</a>

<ul class="dropdown-menu">

  <li>Bonjour</li>

  <li>Hello</li>

  <li>Hi Mr</li>

</ul>

</div>