(一)、事件列表。 1.blur() 当失去焦点时触发。包括鼠标点击离开和TAB键离开。 2.change() 当元素获取焦点后,值改变失去焦点事触发。 3.click() 当鼠标单击时触发。 4.dblclick() 当鼠标双击时触发。 5.error(...
分类:
Web程序 时间:
2014-08-13 13:01:26
阅读次数:
221
Right-click on the module, select "Add framework support...", and check the "Maven" technology. (This also creates a?pom.xml?for you to modify.) If you mean adding source repository elements, I ...
分类:
其他好文 时间:
2014-08-13 10:44:45
阅读次数:
1136
LeetCode新题,但是比较简单,直接用栈即可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 constitut...
分类:
其他好文 时间:
2014-08-13 08:01:55
阅读次数:
182
核心代码:$('#top li').click(function(){var index=$('#top li').index(this);$('#top li:eq('+index+')').addClass('cur').siblings('li').removeClass('cur');$('...
分类:
Web程序 时间:
2014-08-12 21:36:54
阅读次数:
274
(function(){ var tit = $("#changes"), con = $("#wday>ul"), page = con.length, index = 0; tit.click(function(){ if(index < page){ index++; }else{ index...
分类:
Web程序 时间:
2014-08-12 18:54:14
阅读次数:
279
JQuery捕获或获取当前click事件的事件对象ID直接上代码:$(".photoImage").click(function(){varp_w_picpathId=$(this).attr("id");console.log(p_w_picpathId);});
分类:
Web程序 时间:
2014-08-12 17:33:35
阅读次数:
176
Example:12345//Create a new jQuery.Event object without the "new" operator.var e = jQuery.Event( "click" );// trigger an artificial click eventjQuery(...
分类:
Web程序 时间:
2014-08-12 17:03:24
阅读次数:
214
(function(){ var tit = $("#changes"), con = $("#wday>ul"), page = con.length, index = 0; tit.click(function(){ if(in...
分类:
Web程序 时间:
2014-08-12 16:40:34
阅读次数:
218
一、基于WINFORM下的选择对话框
在WINFORM下,我们可以利用系统的对话框(MessageBox)来实现,具体思路是读取MessageBox的返回值(YES或NO)来达到对操作的控制。下面是一个演示程序代码代码如:
private void button1_Click(object sender, System.EventArgs e)
{
label1.Text="...
分类:
其他好文 时间:
2014-08-12 13:37:34
阅读次数:
209
1:jQuery.fn.extend(object); 给jQuery对象添加方法。js封装文件示例$.fn.extend({ alertWhileClick:function(){ $(this).click(function(){ alert($(this).val()); }); }...
分类:
Web程序 时间:
2014-08-12 13:20:24
阅读次数:
261