事件原由: function promptImage(obj,callback){ console.log(obj.a) $('#showImage').modal({backdrop:false}).on('hidden.bs.modal', function (e) { $('#showImag ...
分类:
Web程序 时间:
2017-04-01 16:59:48
阅读次数:
193
转自:here 注意下面说的全局最优是特殊的情况,一般还是梯度下降的方法还是很容易变成局部最优。 梯度下降(GD)是最小化风险函数、损失函数的一种常用方法,随机梯度下降和批量梯度下降是两种迭代求解思路,下面从公式的角度对两者进行分析。 下面的h(x)是要拟合的函数,J(theta)损失函数,thet ...
分类:
其他好文 时间:
2017-03-28 19:35:47
阅读次数:
204
1.代码跳转 【1】 //以modal 方式跳转 [self presentModalViewController:nil animated:YES]; //以 modal跳转的返回方法 [self dismissModalViewControllerAnimated:YES]; 【2】 //以pu ...
分类:
其他好文 时间:
2017-03-28 19:34:44
阅读次数:
141
PHP $this->ci_smarty->assign('templet_ids', array( '1', '2', '3' )); $this->ci_smarty->assign('templet_types', array(lang('templet_type_one'), lang('t ...
分类:
其他好文 时间:
2017-03-27 10:57:02
阅读次数:
184
(转自:http://www.qdfuns.com/notes/17064/659bd173efc16de27cc4630a2ce5d4d9.html) select2和bootstrap模态框一起使用导致select2的input获取不到焦点问题 解决办法: 把页面中的 tabindex="-1" ...
分类:
其他好文 时间:
2017-03-25 14:19:11
阅读次数:
1065
需要引入jquery和bootstrap相关包,然后把下面的代码复制进去就可以了: <div class="modal fade" id="loadingModal" backdrop="static" keyboard="false"> <div style="width: 200px;heigh ...
分类:
Web程序 时间:
2017-03-23 02:12:20
阅读次数:
563
Font Awesome 在网站开发中,经常用到。今天介绍如何在WPF应用程序中使用Font Awesome 。 如果是自定义的图标字体,使用方法相同。 下载图标字体 在官方网站或github上下载资源 http://fontawesome.io/#modal-download https://gi ...
分类:
Windows程序 时间:
2017-03-19 17:09:23
阅读次数:
1392
(function() { angular.module('app.widgets') .directive('bsModalPlus', function($window, $sce, $modal) { return { restrict: 'A', scope: true,... ...
分类:
其他好文 时间:
2017-03-15 12:22:54
阅读次数:
221
Overview jQuery BlockUI 插件可以在不同锁定浏览器的同时,模拟同步模式下发起Ajax请求的行为。该插件激活时,会组织用户在页面进行的操作,直到插件被关闭。BlockUI通过向DOM中添加元素实现其外观和组织用户交互的行为。 使用jQuery BlockUI,首先需要在jQuer ...
分类:
Web程序 时间:
2017-03-10 16:20:26
阅读次数:
292
bootstrap的modal弹窗组件在微信ios的wkwebview内核的bug ...
分类:
其他好文 时间:
2017-03-06 13:50:33
阅读次数:
130