Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to prevent model box to close box by screen click ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 123
    Comment on it

    If your model box getting close by some where click on screen outside of your popup box. You need add following attribute in your model box:

    data-backdrop="static" 
    data-keyboard="false"
    your model box will appear like this 
    
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static" data-keyboard="false">
    
    if you are opening model by JS
    $('#myModal').modal({backdrop: 'static', keyboard: false})  
    </div>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: