Using jQuery to provide an inline confirmation on buttons

I was working on a side project and wanted the user to confirm when they wanted to delete something. The normal window.confirm method was just too primitive so I decided to write something I liked a little more.

Click the delete button below to see it in action. Click the JavaScript tab below to see how it works.

This was built for use with the amazing Bootstrap CSS framework. Only the classes that are added/removed are dependent on Bootstrap, so adjust to your needs.

This entry was posted in Development and tagged , , , , . Bookmark the permalink.

4 Responses to Using jQuery to provide an inline confirmation on buttons

Comments are closed.