Hi,
I have used bootstrap frameowrk in my project for the javascript effects. In my application there is a register button, when clicked on should display model window. But when I clicked on Register button, modal window appears and disappear again. I Have googled for many resource and finally found the solution which is a simple one.
As my application in rails 3 it uses assets pipeline. Where we need to place all the javascript files inside the 'assets/javascripts' folder. When I load the page it will fetch all the javascript files from the javascript folder.
In those files, I was loading both bootstrap.js AND bootstrap-modal.js.
bootstrap.js includes bootstrap-modal.js.
So I have removed the bootstrap.js file and every thing works fine for me.
Thank You,
Uma Mahesh.
No comments:
Post a Comment