06 2012 档案

Js之Popup的关闭
摘要:1、关闭并刷新父页面function closefres() { this.parent.Popup.prototype.reset_m(); //会刷新父页面 }2、直接关闭子窗口,不刷新父窗口 function closebox1() { window.parent.document.body.removeChild(window.parent.document.getElementById("dialogCase")) }3、直接关闭子窗口,不刷新父窗口子窗口:javascript:window.parent.closePop();父窗口:function close 阅读全文

posted @ 2012-06-29 12:15 lei0515

C# 小数点
摘要:1、保留小数点后两位Double dValue = 95.12345;int iValue = 10000;string strValue = "95.12345";string result = "";result = Convert.ToDouble(dValue).ToString("0.00");//保留小数点后两位,结果为95.12result = Convert.ToDouble(iValue).ToString("0.00");//10000.00 result = Convert.ToDouble( 阅读全文

posted @ 2012-06-28 09:36 lei0515

JS关闭网页
摘要:window.opener=null;window.close(); 不进行提示性关闭window.close(); 会进行提示“您查看的网页正在关闭页面,是否关闭” 阅读全文

posted @ 2012-06-28 09:19 lei0515

主动下载文件
摘要:System.Net.WebClient wc = new System.Net.WebClient();string saveurl = "E:\\ly\\学习\\" + FileName;wc.DownloadFile(hp, saveurl); 阅读全文

posted @ 2012-06-27 10:08 lei0515

Js滚动条
摘要:<div id="colee" style="overflow:hidden;height:253px;"><div id="colee1"> <asp:Literal ID="Litlove" runat="Server"></asp:Literal> </div><div id="colee2"></div></div> <script type="text/j 阅读全文

posted @ 2012-06-27 09:39 lei0515

b_RoundCurve Css圆角框组件
摘要:/*#############################################################Name: b_RoundCurve Css圆角框组件--冰极峰Version: 1.0Author: binyEmail:szbiny@163.com冰极峰博客地址:http://www.cnblogs.com/binyong你可以免费使用和修改代码,但请保留完整的版权信息。有如下五种调用方法: b_RoundCurve("bottom","#F8B3D0","#FFF5FA",1);//普通圆角框 b_Ro 阅读全文

posted @ 2012-06-27 09:38 lei0515

转: js获取table里所有checkbox元素
摘要:无标题文档1、获取所有checkbox里的值123<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content=&quo 阅读全文

posted @ 2012-06-06 11:13 lei0515

导航