码迷,mamicode.com
首页 >  
搜索关键字:click    ( 10709个结果
iphone手机上的click和touch
在iphone手机上绑定click事件时,当你触发点击事件时,你绑定的click事件的DOM节点,会自动被一块浮层选中。所以如果使用事件委托来做事件绑定会造成很差的用户体验。使用touchstart来实现点击就不会有这个问题。但是touchstart事件的触发机制和click不同。在你滑动页面的时候...
分类:移动开发   时间:2014-09-04 18:34:49    阅读次数:218
读取DBF文件的部分代码
private void BtnOpenInitial_Click(object sender, EventArgs e) { OpenFileDialog file = new OpenFileDialog(); if (f...
分类:数据库   时间:2014-09-04 16:41:29    阅读次数:262
WPF中的CheckBox的_ (underscore / 下划线)丢失
今天在项目中遇到check box的Content的内容缺少'_', 原因是WPF的ContentPresenter默认会把‘_’作为加速键的转义字符。 比如CheckBox的content为“_IsEnable”, 实际结果:显示为“IsEnable”; 当你按键“i”时,会触发Click事件,就可以快速的选中或者取消选中。如果想要显示‘_’, 可以将控件内部的ContentPresenter的...
分类:其他好文   时间:2014-09-04 15:02:49    阅读次数:216
asp.net 检测页面是否刷新
public partial class TestRefresh : ProAspNet20.CS.Components.Page { protected void AddContactButton_Click(object sender, EventArgs e) { Msg.InnerText = "Added"; if (!this.IsRefreshed) AddRecord(FName.Text, LName.Text); else Msg.InnerText = "Page re...
分类:Web程序   时间:2014-09-04 14:57:19    阅读次数:317
JQUERY点击滚动到锚点
$(document).ready(function() { $("a.topLink").click(function() { $("html, body").animate({ scrollTop: $($(this).attr("href")).off...
分类:Web程序   时间:2014-09-04 14:40:29    阅读次数:160
jQuery给CheckBox添加事件
123$(function(){$("#ckbTable").click(function () { if (this.checked) { $("#table").css("display", "block"); ...
分类:Web程序   时间:2014-09-04 09:33:27    阅读次数:377
Python Tkinter基础控件入门实例
分享一个Python Tkinter基础控件用法的入门例子,包括窗口的显示、显示内置图片、弹出窗口、菜单等.例子,Python Tkinter基础控件的用法# -*- coding: utf-8 -*-from Tkinter import *def btn_click():b2['text'] =...
分类:编程语言   时间:2014-09-04 06:18:57    阅读次数:395
JS为submit、click等事件添加监听
1、为form添加表单验证editSeller_form是form的idun、pw是input text的id$(document).ready(function() { $("#editSeller_form").submit(function(e) { if ...
分类:Web程序   时间:2014-09-02 22:37:55    阅读次数:334
Ext JS学习第十六天 事件机制event(一)
此文用来记录学习笔记;休息了好几天,从今天开始继续保持更新,鞭策自己学习今天我们来说一说什么是事件,对于事件,相信你一定不陌生,基本事件是什么?就类似于click、keypress、focus、mouseover等这些事件都是浏览器定义好的内置事件,我们直接使用即可。对于高级事件,无非就是自己去设计...
分类:Web程序   时间:2014-09-02 19:44:45    阅读次数:180
Winform 文件控件 - 转
1. OpenFileDialogprivate void openFileDialogBTN_Click(object sender, System.EventArgs e){ OpenFileDialog openFileDialog = new OpenFileDialog(); ...
分类:Windows程序   时间:2014-09-02 17:11:24    阅读次数:344
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!