我的购物车苹果 10元香蕉 20元西瓜 30元栗子 40元哈密瓜
50元总价格是:0元全选取消是否全选 全选-反选-取消 function select(obj){ var
lids=document.getElementsByName("lid"); if(obj.innerHTM...
分类:
其他好文 时间:
2014-05-10 00:24:17
阅读次数:
391
protected void Page_Load(object sender, EventArgs
e) { //设置Cookies HttpCookie cookie = new HttpCookie("UserName","ZhangSan"); ...
分类:
其他好文 时间:
2014-05-10 00:21:28
阅读次数:
247
Array.prototype.slice.call(document.links,0).forEach(function(link){link.onmousedown
= null})插件总失效 用这个对付下
分类:
其他好文 时间:
2014-05-10 00:15:19
阅读次数:
250
$("#appearHiddenDiv").click(function(){
$("#hiddenDiv").css({display:"block"}); $("#closeHiddenDiv").click(function(){
//alert("erhsh tes...
分类:
其他好文 时间:
2014-05-10 00:04:51
阅读次数:
353
最近在弄一个小功能 鼠标移动到当前位置 就在旁边提示我想提示的内容所以直接拿过来
直接获取移动鼠标的坐标 然后直接在body中直接绘制一块提示的区域内容function A(e){ var x,y; //获取鼠标坐标
x=e.pageX,y=e.pageY; //绘制提示内容...
分类:
Web程序 时间:
2014-05-09 23:44:10
阅读次数:
399
代码段1: 1 #include 2 #include 3 4 5 float
mul_ints(int x, int y) { return ((float)x) * y; } 6 struct int_div { 7 float
operator()(int x, int y)...
分类:
编程语言 时间:
2014-05-09 23:38:56
阅读次数:
487
一、JS的三种最常见的对话框//======================
JS最常用三种弹出对话框 ======================== //弹出对话框并输出一段提示信息 function ale() {
//弹出一个对话框 alert("提示...
分类:
Web程序 时间:
2014-05-09 23:30:08
阅读次数:
559
那么首先我们来简单的看一下最正统的 jQuery 插件定义方式:(function ($) {
$.fn.插件名 = function (settings) { //默认参数 var defaultSettings = { } /...
分类:
Web程序 时间:
2014-05-09 23:15:29
阅读次数:
393
Generate ParenthesesGiven n pairs of parentheses,
write a function to generate all combinations of well-formed parentheses.For
example, given n = 3, a...
分类:
其他好文 时间:
2014-05-09 20:09:32
阅读次数:
333
/*验证邮箱格式*/ function checkEmail(strEmail){
if(!/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/ .test(strEmail)){ return
false; } else ...
分类:
Web程序 时间:
2014-05-09 20:02:19
阅读次数:
482