$(function(){
$(".btn").click(function(){
$("#mymodal").modal({
keyboard: false,
backdrop: false,
});
});
});
$(".btn").click(function(){
$("#mymodal").modal({
keyboard: false,
backdrop: false,
});
});
});
<script>
$(()=>{
$(".btn").click(()=>{
$("#themodal").modal();
})
})
</script>
$(()=>{
$(".btn").click(()=>{
$("#themodal").modal();
})
})
</script>
```html
<script>
$(()=>{
$(".btn").click(()=>{
$("#themodal").modal();
})
})
</script>
```
<script>
$(()=>{
$(".btn").click(()=>{
$("#themodal").modal();
})
})
</script>
```
1. 12行的a標(biāo)簽加上 data-toggle="modal" href="#mymodal-link"
2. 33行的button標(biāo)簽加上 data-toggle="modal" href="#mymodal-data"
3. http -> https
2. 33行的button標(biāo)簽加上 data-toggle="modal" href="#mymodal-data"
3. http -> https
2018-12-10
1. a標(biāo)簽和button標(biāo)簽加上 data-toggle="modal" href="#mymodal-link" 和 href="#mymodal-data"
2. http -> https
2. http -> https
2018-12-10
```
<div class="alert alert-danger alert-dismissable">
<button class="close" data-dismiss="alert">&times;</button>
危險(xiǎn)??!不要去?。。?!
</div>
```
<div class="alert alert-danger alert-dismissable">
<button class="close" data-dismiss="alert">&times;</button>
危險(xiǎn)??!不要去?。。?!
</div>
```
2018-12-10