I want to put up an overlay on my screen while some ajax stuff is running. Building my own overlay div isn't a big deal, but, since I'm already using Bootstrap, I figure I might as well use its .modal-backdrop
-- it should already be around, and there's some value to consistency and all that.
The problem is I can't find the right way to do it -- I've tried adding classes to .modal-backdrop
, or calling .show()
on it, but it's not working.
Note that I don't want to bring up a whole modal dialog, but just reveal and then hide the backdrop.
Any suggestions?