码迷,mamicode.com
首页 >  
搜索关键字:click    ( 10709个结果
jquery Ajax获取本地json 以及xml文件
$(function() { $("#Button1").click(function() { //按钮单击事件 //打开文件,并通过回调函数处理获取的数据 $.get("UserInfo.xml", function...
分类:Web程序   时间:2014-11-11 10:31:10    阅读次数:184
Selenium webdriver 之select 控件封装,解决onchange问题
使用webdriver的时候,select控件经常会绑定onchange事件,在selenium2.09之前click方法对onchange事件有bug,2.09以后修复了,但是根据经验也遇到用seleniumui下面的select的类去做select操作,有时也可能不发触发onchange事件,所...
分类:Web程序   时间:2014-11-10 21:17:26    阅读次数:215
300 毫秒点击延迟的来龙去脉 以及临时的解决方案
300 毫秒点击延迟的来龙去脉凌征原文地址:What Exactly Is..... The 300ms Click Delay快速响应是所有 UI 实现的重中之重。研究表明,当延迟超过 100 毫秒,用户就能感受到界面的卡顿。 然而,出于对手指触摸滑动的区分,移动端页面对于触摸事件会有 300 毫...
分类:其他好文   时间:2014-11-10 19:34:48    阅读次数:348
aspx页面传值常用几种方式
Redirect 1 page1.aspx 2 protected void Button1_Click(object sender, EventArgs e) 3 { 4 Response.Redirect("page2.aspx?name=" + TextBox1.Tex...
分类:Web程序   时间:2014-11-10 19:24:01    阅读次数:188
实时刷新winform中的某一个控件上的文字
需要注意的是,必须从UI线程,另外启动一个线程才可以。在新线程调用异步刷新就OK了 Thread thread; private void button1_Click(object sender, EventArgs e) { thread = ne...
分类:Windows程序   时间:2014-11-10 17:24:58    阅读次数:286
MVC Html.AntiForgeryToken() 防止CSRF攻击
转载来自于:http://blog.csdn.net/cpytiger/article/details/8781457一.CSRF是什么? CSRF(Cross-site request forgery),中文名称:跨站请求伪造,也被称为:one click attack/session ridi....
分类:Web程序   时间:2014-11-10 17:12:24    阅读次数:594
fastreport for .net 数据邦定
C# Code:privatevoidbutton4_Click(objectsender, EventArgs e){//打印主从表数据stringfile = Application.StartupPath @"\MasterDetail.frx";rptMasterDetail.Load(fi...
分类:Web程序   时间:2014-11-10 13:38:24    阅读次数:239
gs_tmp_tz.***.**文件
gs_tmp_tz... is the temporary timezone detection file. To prevent this file from being created at all, just right-click the site in the site manager, select PROPERTIES, and then under the "TYPE"...
分类:其他好文   时间:2014-11-10 09:58:34    阅读次数:144
mssql脱库脚本aspx版本
<%@PageLanguage=”C#”%> <!DOCTYPEhtmlPUBLIC“-//W3C//DTDXHTML1.0Transitional//EN”“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <scriptrunat=”server”> protectedvoidButton1_Click(objectsender,EventArgse) { stringserverI..
分类:数据库   时间:2014-11-10 01:20:06    阅读次数:249
事件冒泡(event bubbling)和事件捕获(event capturing)
事件冒泡时,触发click事件: 1 2 3 4 5 Bubble Test 6 7 8 Div 9 10 27 事件捕获时,触发click事件: 1 2 3 4 5 Bubble Test 6 7 8 Div 9 10 27
分类:其他好文   时间:2014-11-09 19:30:28    阅读次数:203
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!