Bootstrap modal background won't disappear
According to this answer the problem is that my Ajax
call updates my div
and therefore the modal ain't visible. The backdrop is however, and its unable to connect to the modal and is therefore unable to disappear like it normally would.
I ended up using the
$('.modal-backdrop').remove();
which on a succesfull ajax call, this removes all the backdrops on the page.
Please go and give Fre a vote up on his answer ^^
You can also use the data-backdrop="false" property on your button.