1 var decode = function(m) { 2 try { 3 m =
decodeURIComponent(m); 4 } catch(e) {} 5 var s = m.split("%"); 6 if (s.length
> 1)...
分类:
移动开发 时间:
2014-04-30 20:11:33
阅读次数:
590
1、jQuery获取Select元素,并选择的Text和Value: 1.
$("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var
checkText=$("#select_id").find(.....
分类:
Web程序 时间:
2014-04-30 19:27:58
阅读次数:
555
index.html星月随笔这个页面中的 charset编码可以变成其他的。utf-81.js
(编码方式 utf-8)function getPageCharset(){ var charSet = ""; var oType =
getBrowser(); switch(...
分类:
Web程序 时间:
2014-04-30 13:10:20
阅读次数:
443
/****** Object: StoredProcedure
[dbo].[PRO_PageForIdTable] Script Date: 04/29/2014 11:23:21 ******/SET
ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO--...
分类:
数据库 时间:
2014-04-29 11:38:46
阅读次数:
470
js 验证手机号码 //验证手机号 function isMobel(value) { if
(/^1[3-8]+\d{9}$/g.test(value)) { return true; } else { return false; } }
分类:
移动开发 时间:
2014-04-29 11:12:46
阅读次数:
369
HTML DOM event 事件, 用用就知道了function
isKeyPressed(eventssdasd) // 这个地方其实无关紧要,就是定义一个名称而已, 不过为了好看, 最好还是写成 event{ if
(event.altKey==1)//event代表事件的状态,例如触发eve...
分类:
Web程序 时间:
2014-04-29 10:26:46
阅读次数:
474
一、height() 方法 height()
方法返回或设置匹配元素的高度$(".btn1").click(function(){ $("p").height(50);});height方法事例
分类:
Web程序 时间:
2014-04-29 10:17:45
阅读次数:
411
protected void lbtnState_Click(object sender,
EventArgs e) { foreach (var item in div_state.Controls) { if (item is LinkB...
分类:
Web程序 时间:
2014-04-29 10:13:46
阅读次数:
438
1 //获取当前显示区域的大小,即clientWidth和clientHeight 2
function getClient(){ 3 var isXHTML; //初始值默认 符合DOM的xHTML标准 4 var
clientWidth,clientHeight; 5 if(docume...
分类:
其他好文 时间:
2014-04-29 09:36:46
阅读次数:
465
DOM基础DOM是什么 答:文件对象模型(Document Object
Model,简称DOM),DOM可以以一种独立于平台和语言的方式访问和修改一个文档的内容和结构!来自网络本节了解了下面知识点:DOM节点childNodes
nodeType获取子节点childrenparentNode例.....
分类:
编程语言 时间:
2014-04-29 09:22:45
阅读次数:
383