码迷,mamicode.com
首页 >  
搜索关键字:click    ( 10709个结果
【leetcode】Simplify Path
Simplify PathGiven an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to sh...
分类:其他好文   时间:2014-12-29 22:39:53    阅读次数:184
jquery 为未来添加的元素创建事件(click等事件)
$('.msgWrap').on('click','#delTable',function(){ var num = $(this).next('.number').val(); $('#inputDiv'+num).remove(); }); 注: 1.“.msgWrap”为父元素class名 2.“click”为绑定的事件 3."#delTable"为未来添加的元素的id名 4...
分类:Web程序   时间:2014-12-29 18:30:08    阅读次数:269
最大子序列和问题
最大子序列和问题:  链接:    click here 问题描述:     输入一组整数,求出这组数字子序列和中最大值。也就是只要求出最大子序列的和,不必求出最大的那个序列。例如: 序列:-2 11 -4 13 -5 -2,则最大子序列和为20。 序列:-6 2 4 -7 5 3 2 -1 6 -9 10 -2,则最大子序列和为16。 int MaxSubseqSum1(...
分类:其他好文   时间:2014-12-29 10:27:50    阅读次数:137
asp.net 中excel 导入数据库
protected void Button1_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager....
分类:数据库   时间:2014-12-28 01:47:04    阅读次数:267
1. Reverse Words in a String
Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click...
分类:其他好文   时间:2014-12-27 21:41:37    阅读次数:143
jQuery on(),live(),trigger(),insert(),insertAfter()方法
jQuery on()方法是官方推荐的绑定事件的一个方法。$(selector).on(event,childSelector,data,function,map);由此扩展开来的几个以前常见的方法有:bind() $("p").bind("click",function(){ alert(...
分类:Web程序   时间:2014-12-27 20:15:49    阅读次数:187
JQuery 获取验证码倒计时
HTML代码:点击获取验证码Jquery:代码:$(document).ready(function() { $('#btn').on('click',function(){ var time = 10; setInterval(function (...
分类:Web程序   时间:2014-12-26 18:14:14    阅读次数:159
C# listView增删操作
场景: C#中使用listView控件,实现动态添加,选中删除等操作.12345678910111213141516171819202122private void addButton_Click(object sender, EventArgs e){string item1Str = cou.....
分类:Windows程序   时间:2014-12-26 14:20:39    阅读次数:183
jquery checkbox
$(document).ready(function() { var $cr = $("#cr"); var cr = $cr[0]; $cr.click(function() { alert("click") i...
分类:Web程序   时间:2014-12-26 12:41:13    阅读次数:142
Reverse Words in a String
Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". click to show clarification. Clarification: What constitutes...
分类:其他好文   时间:2014-12-26 11:14:16    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!