.NET
文章平均质量分 79
tanyuanxu
one word: handsome
展开
-
用PageMethods进行Server和Client通信
WebService and PageMethods的应用 想要使用ASP.NET AJAX在客户端JavaScript中异步调用服务器端Web Service,我们需要:1 为Web Service类或需要暴露给客户端的Web Service方法添加[ScriptService] 属性; 2 为Web Service中需要暴露给客户端的方法添加[WebMethod]属性;3原创 2008-10-22 12:20:00 · 451 阅读 · 0 评论 -
用JScript动态处理table
function CreateTableWithDiv(idStart,table,tr){ table.setAttribute("border",1); var id=idStart; var rowIndex=-1; for(var i=0;i { var tr1=table.insertRow(table.rows.length);原创 2008-10-22 12:31:00 · 388 阅读 · 0 评论 -
给client端create file
在client端创建文件,需要用到两个插件FSO(var fso=new ActiveXObject(Scripting.FileSystemObject);) 和XMLDom function createClientFile(fileCliPath,fileName,fileSerPath,fileType,fileSpec){ var oFileDom=loadFile(f原创 2008-10-22 12:51:00 · 464 阅读 · 0 评论 -
用javascript在client端create、open、edit、save文件完全代码
NO.原创 2008-10-22 12:59:00 · 598 阅读 · 0 评论