Bootstrap $('#myModal').modal('show') is not working

后端 未结 15 2164
深忆病人
深忆病人 2020-12-03 13:50

I\'m not sure why but all the modal functions are not working with me. I checked the version and the load they are fine.

I keep getting this error message:

15条回答
  •  眼角桃花
    2020-12-03 14:25

    Please,

    try and check if the triggering button has attribute type="button". Working example:

      
    
      
      
    
       
    

提交回复
热议问题