1 $(".content").each(function(){ 2 if($(this).text().length>100){3 $(this).text($(this).tex...
分类:
Web程序 时间:
2014-06-18 13:13:18
阅读次数:
253
1 $(document).ready(function(){ 2 var winH = $(window).height(); //页面可视区域高度 3 $(window).scroll(function () { 4 var pageH = $(docum...
分类:
Web程序 时间:
2014-06-18 12:55:00
阅读次数:
179
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 an...
分类:
其他好文 时间:
2014-06-18 12:32:58
阅读次数:
169
共有的表单字段方法每个表单字段都有两个方法:focus()和blur(),其中focus()用于将浏览器焦点设置到表单字段,激活表单字段。可以侦听页面的load事件EventUtil.addHandler(window,"load",function(event){ document.fo...
分类:
编程语言 时间:
2014-06-17 22:45:07
阅读次数:
391
MicrosoftAjax.js下载Function.__typeName = "Function";Function.__class = true;Function.createCallback = function (b, a) { return function () { ...
分类:
Web程序 时间:
2014-06-17 21:30:46
阅读次数:
412
1 用jsonp$.getJSON(" http://www.guozhijinan.com/document!searchJSONResult.action?name1="+value1+"&jsoncallback=?", function(json){ if(json.属性名==值){ // ...
分类:
编程语言 时间:
2014-06-17 21:23:14
阅读次数:
290
CREATE OR REPLACE FUNCTION F_TRANS_PINYIN_CAPITAL(P_NAME IN VARCHAR2) RETURN VARCHAR2 ASV_COMPARE VARCHAR2(100);V_RETURN VARCHAR2(4000);FUNCTION F_NLS...
分类:
数据库 时间:
2014-06-17 20:56:49
阅读次数:
253
PHP中的CURL函数库(Client URL Library Function)curl_close — 关闭一个curl会话curl_copy_handle — 拷贝一个curl连接资源的所有内容和参数curl_errno — 返回一个包含当前会话错误信息的数字编号curl_error — 返回...
分类:
Web程序 时间:
2014-06-17 20:00:28
阅读次数:
199
我的第一个Nodejs程序:Hello World var http = require("http");http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/.....
分类:
Web程序 时间:
2014-06-17 19:59:52
阅读次数:
241
//菜单下拉function menu(){ var oNav=document.getElementById('top-menu'); var aLi=oNav.getElementsByTagName('li'); for(var m=0;m<aLi.length;m++) { ...
分类:
其他好文 时间:
2014-06-17 19:47:29
阅读次数:
249