DtaGridView绑定数据源后,如果想让数据条件显示的话,直接使用 My_Row.Visible = False就会出错,错误类型是 "与货币管理器的位置关联的行不能设置为不可见" ,如果你遇到这样的问题,那么可以参考一下的代码。 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.Even...
$(".li_logout_a").click(function (e) { var hrefs = location.href; e.preventDefault(); $("#lnk_username span").text(""); $(...
分类:
其他好文 时间:
2014-10-15 15:30:30
阅读次数:
199
//html代码
{$doctor.reason|htmlspecialchars|trim|msubstr=0,35} //JS代码 // 使用live可以给动态添加的元素绑定事件 $('td span.doc_reason').live('click',function() { var eval...
分类:
Web程序 时间:
2014-10-15 15:23:16
阅读次数:
230
(1)主要是onScroll()方法和onTouchEvent()方法,先是onTouchEvent()的ACTION_DOWN,然后是 ACTION_MOVE和onScroll()方法同时进行,最后是onTouchEvent()的ACTION_UP。 (2)刷新的4种状态:CLICK_TO_REF...
分类:
其他好文 时间:
2014-10-14 20:50:49
阅读次数:
234
$(".test li").click(function() {
$(".test li a").removeClass("test01");
$(".test li a").addClass("test02");
$("a", this).removeClass("test02");//当前li中的a标签
$("a", this).addClass("test01");
var tit...
分类:
Web程序 时间:
2014-10-14 19:41:59
阅读次数:
134
三级dropdown弹出菜单DEMOSDEMOSzero dollarswrapping textstyled formactive focusHOVER/CLICK >HOVER/CLICK >styled formactive focushover/clickshadow boxingimage...
分类:
其他好文 时间:
2014-10-14 13:21:08
阅读次数:
295
前不久使用jQuery与layer实现一个弹出框,发现在绑定弹出框事件时,事件执行了两次,准确的说是方法同时注册了两次,不分先后执行了两遍,导致弹出框弹出两次。请教同事后,发现原因有可能是jQuery的js与layer的js冲突(具体原因还需要深入了解),通过网络和请教同事,得到了三种处理方法。方法...
分类:
Web程序 时间:
2014-10-13 23:16:17
阅读次数:
222
能实现网站下载的功能语言都是动态语言,除了asp.net,还有php,jsp等,这里以asp.net为例。这种可以实现多种网站下载功能,代码如下://TransmitFile实现下载protectedvoidButton1_Click(objectsender,EventArgse){Response.ContentType="application/x-zip-compressed";Respo..
分类:
Web程序 时间:
2014-10-13 21:33:57
阅读次数:
176
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-10-13 14:44:09
阅读次数:
190
Problem:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindr...
分类:
其他好文 时间:
2014-10-13 12:18:49
阅读次数:
100