Tag: jQuery

  • How To Add and Remove Tabs in Bootstrap 3 Dynamically?

    How To Add and Remove Tabs in Bootstrap 3 Dynamically?

    The code is compatible with Bootable 3.x Earlier today, I was working on a web application with Bootstrap and I was required to allow a user to add and remove tabs. Unfortunately Bootstrap doesn’t give you the close button on a tab out-of-the-box. So I quickly went to the Bootstrap’s Issues page on GitHub where…

  • jQuery – Prevent Multiple AJAX Requests

    jQuery – Prevent Multiple AJAX Requests

    Many times we do not want to take any other requests of the same type while one is still in progress. A normal post request looks something like: Suppose, if we call the function using a link, <a href=”javascript:doSignup()”>Signup</a> Someone does repeated clicks and an enormous amount of requests will be off their way to…