http://www.codebf.com/read/169773/5411066
function factor(n) { if((n==0)||(n==1)) return 1; else { result=(n*factor(n-1)) return result; } } var x=10; document.wri
http://www.codebf.com/read/169773/5411070
William Yan 和 E-Port 开发的JavaScript Editor http://e-port.yeah.net
http://www.codebf.com/read/169773/5411071
private void Button1_Click(object sender, System.EventArgs e) { string strTemp="window.alert('Hello,world');"; if(!this.IsClientScriptBlockRegistered(
http://www.codebf.com/read/169773/5411081
string strTemp="window.alert("+this.Hidden3.Value.ToString()+");"; if(!this.IsClientScriptBlockRegistered("clientScript")) this.RegisterStartupScript("cli
http://www.codebf.com/read/169773/5411082
http://www.codebf.com/read/169773/5411089
1.打开属性生成器. 2.在可用列中,选择超级链接列,单击>,增加到选定的列中 3.定制:页眉文本-名称,文本字段-cusName,排序表达式-cusName,URL字段-cusID URL格式字符串../Account/Form_AccDetail.aspx?CustomerID={0} URL中含Javascript URL格式字符串 javascript: ...
http://www.codebf.com/read/169773/5411146
1.页面
http://www.codebf.com/read/169773/5411183
设置为AutoPostBack=true;自动加上__doPostBack函数 cbStart.Attributes.Add("onclick","javascript:if(Di_AffirmFrm('"+oName.ToString()+"','"+oAdmin.ToString()+"',"+cbStart.ClientID+"))");
http://www.codebf.com/read/169773/5411200
重点:传递带不单引号的ID有区别 只有设置了AutoPostback=true,时自动在onlick后的Javascript加上__doPostback函数. //方法1 function Di_AffirmFrm(ci) { eval('document.all.'+ci+'.checked=true;') //拼接执行 }
http://www.codebf.com/read/169773/5411216
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机