Updated for Bootstrap 3
Bootstrap 3 documentation refers two events you can use
hide.bs.modal: This event is fired immediately when the hide instance method has been called.
hidden.bs.modal: This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete).
And provides an example on how to use them:
$('#myModal').on('hidden.bs.modal', function () { // do something… }) $('#myModal').on('show.bs.modal', function (e) { if (!data) return e.preventDefault() // stops modal from being shown })
Legacy Bootstrap 2.3.2 answer
Bootstrap's documentation refers two events you can use
hide: This event is fired immediately when the hide instance method has been called.
hidden: This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).
And provides an example on how to use them:
$('#myModal').on('hidden', function () { // do something… }) $('#myModal').on('show', function (e) { if (!data) return e.preventDefault() // stops modal from being shown })
相关推荐
It is built on top of the popular Bootstrap Framework. Besides that, it is bundled with a lot of third party plugins and useable elements such as buttons, thumbnails, media objects and much more... ...
此压缩包内为示例版页面代码 示例浏览:http://html.codedthemes.com/datta-able/index-tf.html 正版下载:https://themeforest.net/item/datta-able-bootstrap-admin-template/22954576?s_rank=3
移动WEB应用实践:Bootstrap应用实践之Bootstrap Modal文章的示例代码 文章地址:http://blog.csdn.net/rowisdom/article/details/17004701
可拖拽的bootstrap弹出窗口结合jquery-ui实现的弹出和拖拽效果。
* 本js只是在bootstrap3-dialog的基础上进行的2次封装, * bootstrap3-dialog已经是非常好用了,调用也非常简单。 * 详情请访问:https://github.com/nakupanda/bootstrap3-dialog, * 这是原项目地址,可以自行...
解决报错:GET /static/css/bootstrap.min.css.map HTTP/1.1" 404
可用于前端开发的高端大气模板 Template Name: Metronic - Responsive Admin...License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your
官方介绍:Bootstrap, from Twitter基于HTML,CSS,JAVASCRIPT的简洁灵活的流行前端框架及交互组件集 http://twitter.github.com/bootstrap/ http://wrongwaycn.github.com/bootstrap/docs/ 推荐2款我试用的...
scrollSensitivity: 30, // px, how near the mouse must be to an edge to start scrolling. scrollSpeed: 10, // px setData: function (/** DataTransfer */dataTransfer, /** HTMLElement*/dragEl) { data...
这个里面 包含整个bootstrap源程序 你所需要的都在了、里面.Bootstrap,来自 Twitter,是目前最受欢迎的前端框架。Bootstrap 是基于 HTML、CSS、JAVASCRIPT 的,它简洁灵活,使得 Web 开发更加快捷。 本教程将向您...
node-express-twitter-bootstrap, 使用 Express/EJS/Twitter Bootstrap/Responsive CSS3的NodeJS Boostrap 使用 3. x/EJS/Twitter Bootstrap/Responsive CSS3的 node.js Boostrap正在启动git clone ...
How to import to IDEA? refer to http://www.jianshu.com/p/31ff3b571b68 How to run ? 1. fire create table sql script in dbscripts folder. 2. change the datasource setting in /src/main/resource/...
之前传了一个选错文件了。重新传一下。 Angle是一个后台管理模板,它也支持以下应用开发:单页应用(Single Page Application)、项目管理应用(Project Management System)、电子商务应用(E-Commerce Admin ...
可以使用很多地方 价格表案例:http://blog.csdn.net/hj7jay/article/details/59479958
#vue3-bootstrap-5-modal-component使用引导程序5的vue 3的简单模态组件 依存关系: 该组件需要安装Bootstrap 5和Popper npm install bootstrap@next npm install @popperjs/core 然后可以将它们包含在main.js...
Bootstrap-Admin-Template-master 源码+文档+模板
2015年6月份完成新项目,适合毕设、大型试验等应用,采用了bootstrap,界面非常美观,绝对不是老项目可以比的。本系统主要采用java语言编写,使用了Struts2-2.3.7、Spring3.2.0、Hibernate3为主体的SSH框架。前台...
Bootstrap点击弹出层用户登录窗口模板基于Bootstrap3.3.5制作,简单实用。
全注解 spring boot +spring security + mybatis+druid+thymeleaf+jsp+mysql+bootstrap 支持thymeleaf和jsp并存 全注解 spring boot spring security thymeleaf+jsp同时使用 mybatis druid mysql bootstrap 访问 ...
Twitter Bootstrap Web Development How-To By: David Cochran; Publisher: Packt Publishing Pub. Date: November 19, 2012 Overview A hands-on introduction to building websites with Twitter Bootstrap's ...