O'Reilly logo

Bootstrap for Rails by Syed Fazle Rahman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Working with Bootstrap Modals

Every developer has used an alert/prompt window when dealing with web development. They are generally used to display important messages, accept information from the user, display warning messages, and for many different purposes. The problem with these traditional dialog windows is that they have become outdated, and our visitors probably hate them. It's no longer recommended to use dialog windows from a better user experience perspective.

To solve this problem, web developers discovered another better way to replace pop-up windows. They used a hidden HTML element inside the same web page. Whenever needed, this hidden element was displayed with the help of some JavaScript code and CSS styling. Bootstrap's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required