摘要: document方法: getElementById(id)返回指定结点的引用 getElementsByTagName(name) 返回文档中所有匹配的元素的集合 createElement(name)创建指定类型的新结点 createTextNode(text)创建一个纯文本结点element方法: getAttribute(id)返回指定属性的值 setAttribute(id,value)... 阅读全文
posted @ 2010-02-03 14:10 David Dong 阅读(227) 评论(0) 推荐(0) 编辑
摘要: ashx+jQuery,一个轻量级的asp.net ajax解决方案 收藏 跟shotdog老师研究探讨了下asp.net里,除官方庞大asp.net ajax之外的ajax解决方案。我们想法是以不同的服务器端方式输出,然后在页面使用jQuery的ajax实现调用服务器端几个解决方案: 使用一般的webform,在页面用jQuery ajax调用,再从取得的html数据中取得<body>... 阅读全文
posted @ 2010-02-03 12:06 David Dong 阅读(457) 评论(0) 推荐(0) 编辑