码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
条件数(condition number)
In the field of numerical analysis, the condition number of a function with respect to an argument measures how much the output value of the function can change for a small change in the input argument...
分类:其他好文   时间:2015-06-24 13:00:32    阅读次数:143
mongodb时间戳转换成格式化时间戳
db.pay_order.find({"id":"5332336532"},{"tradeNo":true,"status":true,"create":true}).forEach(function (a) { a["create"] = (new Date(a["create"]).toString()); printjson(a) })...
分类:数据库   时间:2015-06-24 12:57:56    阅读次数:277
【WAP触屏】YouKu视频弹窗播放组件
(function(window){/* youku api : http://open.youku.com/tools 调用方法 : LM_youkuPop.open('XODI5Mzk3MDAw');*/var head = document.getElementsByTagName('hea....
分类:其他好文   时间:2015-06-24 12:45:34    阅读次数:223
PHP获取上个月、下个月、本月的日期
获取本月日期:代码如下:1 function getMonth($date){2 $firstday = date("Y-m-01",strtotime($date));3 $lastday = date("Y-m-d",strtotime("$firstday +1 month...
分类:Web程序   时间:2015-06-24 12:44:13    阅读次数:152
Jquery操作select选项集合,判断集合中是否存在option
转载:http://www.cnblogs.com/pepcod/archive/2012/07/03/JavaScript.htmlQuery获取Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); ....
分类:Web程序   时间:2015-06-24 12:42:02    阅读次数:157
验证特殊字符js
function showKeyPress(evt) { evt = (evt) ? evt : window.event return checkSpecificKey(evt.keyCode); } function checkSpecificKey(k...
分类:Web程序   时间:2015-06-24 12:40:30    阅读次数:176
mySQL 教程 第7章 存储过程和函数
存储过程和存储函数MySQL的存储过程(stored procedure)和函数(stored function)统称为stored routines。1. MySQL存储过程和函数的区别函数只能通过return语句返回单个值或者表对象。而存储过程不允许执行return,但是通过out参数返回多个值...
分类:数据库   时间:2015-06-24 12:39:19    阅读次数:225
收缩菜单 css变样
// 收缩菜单 $("#leftMenu li h3").click(function(){ $v = $(this).next('.ajax').css('display'); if($v =='none'){ $(this)...
分类:Web程序   时间:2015-06-24 12:30:35    阅读次数:147
jQuery事件之鼠标事件
鼠标事件是在用户移动鼠标光标或者使用任意鼠标键点击时触发的。 (1):click事件:click事件于用户在元素敲击鼠标左键,并在相同元素上松开左键时触发。 $('p').click(function(){ alert('click function is running !'); }); (2):...
分类:Web程序   时间:2015-06-24 12:29:03    阅读次数:149
深入理解javascript中的Function.prototye.bind
函数绑定(Function binding)很有可能是你在开始使用JavaScript时最少关注的一点,但是当你意识到你需要一个解决方案来解决如何在另一个函数中保持this上下文的时候,你真正需要的其实就是 Function.prototype.bind(),只是你有可能仍然没有意识到这点。第一次遇...
分类:编程语言   时间:2015-06-24 12:17:40    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!