码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
crm使用soap分配记录
//样例function demo() { //操作记录的id var targetId = "A8A46444-BA10-E411-8A04-00155D002F02"; //操作记录的实体名称 var targetType = "new_config"; //被分配的用户或者团队的id var....
分类:其他好文   时间:2015-12-26 14:53:59    阅读次数:145
js动态添加table 数据tr td
成果库修改: 要求主题列表随成果类型改变而改变 网上查询资料后开工,在成果类型下拉框添加change()事件触发Dwr,查询主题集合——动态创建/编辑Table 概要代码如下:Jsp页面[javascript]//动态获取主题数据function getzts(){ parentId = docum...
分类:Web程序   时间:2015-12-26 13:23:27    阅读次数:224
四舍五入保留两位小数
function toDecimal(x) { var f = parseFloat(x); if (isNaN(f)) { return; } //isNaN判断传入的数字是否有效 f = Math.round(x*100)/100; 先执行Math.round(x*100) r...
分类:其他好文   时间:2015-12-26 11:34:48    阅读次数:173
Leetcode: Move Zeroes
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.For example, give...
分类:其他好文   时间:2015-12-26 11:33:44    阅读次数:128
[Falcor] Building Paths Programmatically
model.setValue('genreList[0].titles[0].rating', 5) .then(function (value) { model.get('genreList[0..1].title...
分类:其他好文   时间:2015-12-26 06:25:44    阅读次数:217
DELPHI版传奇引擎学习菜鸟篇(applem2)-06
引擎源代码的学习暂时放下了几天,因为需要掌握一些进程处理方面的消息,之前在GAMECENTER中的启动服务过程好好琢磨了一下,将服务启动过程单独拿出来,原先是用主界面的过程判断处理启动,好长的代码,终于提炼出来了一个通用启动过程,停止服务的过程和这个是类似的.{运行外部程序的函数}function ...
分类:移动开发   时间:2015-12-26 01:11:53    阅读次数:216
CreateFile函数详解
CreateFile函数详解CreateFileThe CreateFile function creates or opens the following objects and returns a handle that can be used to accessthe object:files...
分类:其他好文   时间:2015-12-26 01:11:00    阅读次数:163
nodejs的某些api~(一)node的流2
可写流writablewritable.write(chunk, [encoding], [callback])chunk {String | Buffer} 要写入的数据encoding {String} 编码,假如 chunk 是一个字符串callback {Function} 数据块写入后的回...
分类:Windows程序   时间:2015-12-25 23:48:05    阅读次数:236
恢复gvim的ctl+v可视模式设置
set nocompatiblesource $VIMRUNTIME/vimrc_example.vim"source $VIMRUNTIME/mswin.vim (注释此行)behave mswinset diffexpr=MyDiff()function MyDiff() let opt = '...
分类:系统相关   时间:2015-12-25 22:20:41    阅读次数:247
siblings 使用
//$(object).siblings().each(function () { // $(this).find("img").attr("class", "picunselect"); //}); $(object).siblings().find("img").att...
分类:其他好文   时间:2015-12-25 20:42:18    阅读次数:141
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!