// jQuery url get parameters function [获取URL的GET参数值]// // var GET = $.urlGet(); //获取URL的Get参数// var id = GET['id']; //取得id的值// // url get par...
分类:
Web程序 时间:
2014-10-09 15:12:33
阅读次数:
181
function loadScript(url,callback){ var script=document.createElement("script"); script.type="text/javascript"; if(script.readyState){ script....
分类:
编程语言 时间:
2014-10-09 15:06:03
阅读次数:
189
vehicle_make = $make; $this->vehicle_model = $model; } public function get_make_and_model(){ return $this->vehicle_make . ' '. $this->vehicle_model;.....
分类:
Web程序 时间:
2014-10-09 14:32:33
阅读次数:
153
Ajax 回顾最本质的 ajax 其实是这样的:function Ajax(){ var xmlHttpReq = null; if (window.ActiveXObject){//IE5 IE6 xmlHttpReq = new ActiveXObject("Micr...
分类:
其他好文 时间:
2014-10-09 14:00:13
阅读次数:
162
一、定义和使用函数。 直接通过例子进行说明吧 class Program { static void Write() { Console.WriteLine("Test output from function"); } static void Main(string[] ar...
分类:
其他好文 时间:
2014-10-09 13:58:13
阅读次数:
193
(function ($) { if (!document.defaultView || !document.defaultView.getComputedStyle) { var oldCurCSS = jQuery.curCSS...
分类:
其他好文 时间:
2014-10-09 13:43:26
阅读次数:
4410
extjs三种传值方式:1,params传值Ext.Ajax.request({url : 'referfriend/getReferfriends',method : 'GET',params : {customerId: rec.data['id']},success : function(re...
分类:
Web程序 时间:
2014-10-09 13:42:23
阅读次数:
331
1.保存下面的代码为sublime_imfix.c/*sublime-imfix.cUse LD_PRELOAD to interpose some function to fix sublime input method support for linux.By Cjacker Huang gc....
分类:
系统相关 时间:
2014-10-09 13:29:33
阅读次数:
366
title
描述
Follow up for ”Remove Duplicates”: What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2,2,3],
Your function should return length = 5, and A is no...
分类:
其他好文 时间:
2014-10-09 03:14:48
阅读次数:
163
本系列作为EffectiveJavaScript的读书笔记。
不使用prototype进行JavaScript的编码是完全可行的,例如:
function User(name, passwordHash) {
this.name = name;
this.passwordHash = passwordHash;
this.toString = function() {
...
分类:
编程语言 时间:
2014-10-09 02:46:07
阅读次数:
206