B/S不像C/S那样一个MessageBox就可以弹出提示框,不过可以通过js的“Alert”来弹出消息,或者通过一些变种的js方法。protected void Message_Click(object sender, EventArgs e){ //第一种 Res...
分类:
Web程序 时间:
2014-10-09 15:04:54
阅读次数:
247
单元格 需要添加 class //html代码
<td?class="ratio_div"?id="10754"></td> //js代码
$(".ratio_div").click(function(){
??????????if($(this).find("input").length?==?0){
??????????...
分类:
其他好文 时间:
2014-10-08 23:56:47
阅读次数:
163
protected void Button1_Click ( object sender, EventArgs e ) { Dictionary DicTest = new Dictionary(); DicTest.Add( "a", "1" ); DicTest.Add( "b", "2" );...
分类:
其他好文 时间:
2014-10-08 13:52:25
阅读次数:
165
在安装office201364位版本的时候,出现“无法安装64位版本的Office,因为在您的PC上找到了以下32位程序:Office15
Click-to-RunExtensibilityComponent
,请卸载所有32位Office程序,然后重试安装64位Office。如果要安装32位Office,请运行32位安装程序”,出现这种情况的原因..
分类:
其他好文 时间:
2014-10-08 12:05:10
阅读次数:
482
jquery执行全选/全不选的操作<scripttype="text/javascript">$(function(){$(‘#checkAll‘).click(function(){$(‘:checkbox‘).attr("checked",this.checked);});})</script>但是发现在1.10.0(其它版本未知),前两次都可以正常工作,但是第三次却不能。后面找到解..
分类:
Web程序 时间:
2014-10-07 21:19:54
阅读次数:
170
$(function () { $(document).keydown(function (event) { if (event.keyCode == 13) { $("#select").click(); ...
分类:
Web程序 时间:
2014-10-07 12:51:53
阅读次数:
129
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2014-10-07 12:03:03
阅读次数:
231
jquery常用的事件:
/*
on
off
hover
blur
change
click
dblclick
focus
keydown
keyup
keypress
mousedown
resize
scroll
select
sub...
分类:
Web程序 时间:
2014-10-07 11:27:53
阅读次数:
272
nuzhang练习事件的添加移除-title
$(document).ready(function(e) {
//button中包含on的button的事件
$('button:contains(on)').click(function(){
//alert('ok');
////button中包含mybtn的button的事件. on在选择元素上绑定...
分类:
Web程序 时间:
2014-10-07 11:11:38
阅读次数:
165
//DataGirdview手动添加数据
private void btnDataGirdView_Click(object sender,EventArgs e)
{
dataGridView1.Columns.Add("a","标题1");
dataGridView1.Columns.Add("b","标题2");
dataGridVie...
分类:
其他好文 时间:
2014-10-06 20:36:30
阅读次数:
129