<div id="alert1" class="alert alert-warning fade in">
<button id='alert1' type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<strong>Holy guacamole!</strong>
Best check yo self, you're not looking too good.
</div>
<div class="alert alert-danger fade in">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4>Oh snap! You got an error!</h4>
<p>
Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
</p>
<p>
<button type="button" class="btn btn-danger">Take this action</button>
<button type="button" class="btn btn-success">Or do this</button>
</p>
</div>
<div id="alert1" class="alert alert-warning fade in">
<button id='alert1' type="button" class="close" aria-hidden="true">×</button>
<strong>Holy guacamole!</strong>
Best check yo self, you're not looking too good.
</div>
<script type="text/javascript">
function Test() {
$("#alert1").alert('close');
}
</script>
<script type="text/javascript">
$('#alert1').bind('close.bs.alert', function (){
alert(1);
})
</script>
欢迎光临 冠富商务通中文社区 (http://gu1vhwx.nat.ipyingshe.com/news/) | Powered by Discuz! 3.0 |