Twitter bootstrap loading button


Have problem with loading button in twitter bootstrap??

Is the below image is not working for you? then you are in right post 😉

18-02-2014 17-49-48


The basic problem is..we need to declare that button in script. Thats it. Anyways follow the steps to implement properly..

1. Add this <script src=”js/button.js”/></script> in head tag

2.Copy <button type=”submit” id=”formsubmit” data-loading-text=”Searching…”>Submit</button>  in body tag

3. Add this script


$(‘#formsubmit’).click(function() {


4. Now run 😀


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s