Disable modal button Bootstrap



  • You can't block Bootstrap a button. It's visually blocked, but the click still opens a fashion window.

    Button code:

    <button class="btn btn-danger disabled" type="button" data-backdrop="static" data-toggle="modal" data-target="#deleteGroup">
                            <span class="glyphicon glyphicon-remove"></span>
                        </button>
    

    Please tell me what I'm doing wrong and how can I fix it?



  • For button I need to write. disabled="disabled"Class .disabled for tags a Stealed under the button.

    <button disabled="disabled" class="btn btn-danger disabled" type="button" data-backdrop="static" data-toggle="modal" data-target="#deleteGroup">
      <span class="glyphicon glyphicon-remove"></span>
    </button>
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2