- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 给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
原创 用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
原创 用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
原创 server 和client通信(asp.net和Javascript)
做Web的东东常常会遇到server端和Client端进行通信问题。我解决的方法:WebService+JScript。当然简单的互通可以用PageMethods来做,但是PageMethods有局限性,这在后面会做介绍。 首先在了解需求后,首先在Server端建立WebService,然后在Client端用JScript调用WebService的WebMethod并
2008-10-21 12:28:00
670
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人