Tuesday, September 16, 2014

Bootstrap dropdown Jquery Asp.net

In this example we have use bootstrap dropdown .the following example is given
Below

  <div class="dropdown">
                <a data-toggle="dropdown" href="#">Home</a>
                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                    <li><a href="#">test1</a> </li>
                    <li><a href="#">test2</a> </li>
                    <li><a href="#">test3</a> </li>
                </ul>
            </div>

Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.



Using Javasript

$('.dropdown-toggle').dropdown();

data-toggle="dropdown"  required   whether you call your dropdown via JavaScript or instead use the data-api

No comments:

Post a Comment

http://blogsiteslist.com