6

Fucking hell, our .net site uses a modal pop-up after the user submits data so they can explain what the did and why. Bootstrap styles it with an x in the top right, but the x doesn't do anything. I can't find where bootstrap adds it, I can't find any way to access it, it just annoys users because if they don't need to explain, they click it, and it doesn't work. Only the cancel button closes it. Where the fuck does this thing come from?

Comments
  • 0
    The x is coming from the modal markup. It's a button in the header. You can hide it with $('#myModal').modal('hide') if you are using jquery which I assume you do.
  • 0
    @dsteiner we have it available, but we do all our coding server side. My boss isn't a fan of anything related to JavaScript, so we avoid it best we can. I'll tell him about that and see what he wants to do
  • 0
    Well showing it is done with js as well so I guess hiding it will be OK as well.
Add Comment