Twitter Bootstrap: to clear modal after loading remote data

Dec 31, 2013 05:47


Originally published at Moishe Beshkin. You can comment here or there.

The problem with Bootstrap modal object and remote data is, that data is not changed after loading first set. Here is a simple and wonderful solution for Bootstrap 3+ answer to the question “Twitter bootstrap remote modal shows same content everytime“ $(‘body’).on(‘hidden.bs.modal’, ‘.modal’, function () { $(this).removeData(‘bs.modal’); });

issues and resolutions

Previous post Next post
Up