码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
PHP支付宝接入
中秋节在研究php接入支付宝和微信,今天从早上开始到晚上一直再看支付宝接入。 在支付宝接入demo测试配置项采用RSA加密方式会报下面的错误: Fatal error: Call to undefined function openssl_get_privatekey() in C:\Users\A ...
分类:Web程序   时间:2016-09-16 22:36:23    阅读次数:678
Python中的函数
Python中的函数主要分为两类,一类是build-in Function(内置函数)例如int(),float(),type(),max()等,另一类是user-define Function(用户自定义函数) 同样以上一节的小例子来说明,计算薪资,如果超过40小时,超过部分就按时薪的1.5倍来算 ...
分类:编程语言   时间:2016-09-16 21:13:52    阅读次数:153
LeetCode 100. Same Tree
Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical a ...
分类:其他好文   时间:2016-09-16 21:03:29    阅读次数:153
Gauss列主元消去法函数
%列主元消去法解方程组Ax=b,实现PA=LU function [x,detA] =gauss(A,b) n=length(b);[p,q]=size(A); if p~=q||p~=n fprintf('方阵的维数不同,请重新输!'); %检错 end %为提高运行速度,给L,U,x,c,d1赋 ...
分类:其他好文   时间:2016-09-16 19:51:57    阅读次数:251
js-读取复选框
js: jquery: $(document).ready(function(){ var checked = []; $("#submitButton").click(function(){ $('input:checkbox:checked').each(function() { checked ...
分类:Web程序   时间:2016-09-16 19:49:43    阅读次数:211
DpQuery.js
(function (window) { //添加事件的方法通用所有 function addevent(evetname, fn, obj) { if (document.attachEvent) { //ie9一下 obj.attachEvent("on" + evetname, functio ...
分类:Web程序   时间:2016-09-16 14:14:33    阅读次数:304
Image组件的使用
注意要导入组件: 属性# onLayout function # 当元素挂载或者布局改变的时候调用,参数为:{nativeEvent: {layout: {x, y, width, height}}}. onLoad function # 加载成功完成时调用此回调函数。 onLoadEnd func ...
分类:其他好文   时间:2016-09-16 14:08:14    阅读次数:166
node设置cookie
// 获得客户端的Cookie var Cookies = {}; req.headers.cookie && req.headers.cookie.split(';').forEach(function( Cookie ) { var parts = Cookie.split('='); Cook ...
分类:其他好文   时间:2016-09-16 14:06:49    阅读次数:158
254. Factor Combinations
Numbers can be regarded as product of its factors. For example, Write a function that takes an integer n and return all possible combinations of its f ...
分类:其他好文   时间:2016-09-16 12:41:36    阅读次数:146
EasyUI 另一种form提交方式
(function ($) { window.XW = {}; //全局系统对象 //异步请求统一调用方法 XW.ajax = function (options, param, callback) { var p = { type: "get", url: null, dataType: "jso ...
分类:其他好文   时间:2016-09-16 11:29:07    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!