摘要: window.onload=function(){ var btnAdd=$("btnSubmit"); btnAdd.onclick=function(){ check(); } }var name;var pass;function check(){ name=$("tbUserName").value; pass=$("tbPassword").value; if(name==""){ al... 阅读全文
posted @ 2009-07-10 20:46 itliyi 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 读写操作xml 3种方法 第一种略读2//实例化文档对象 版本信息 根元素XmlDocument xml = new XmlDocument();XmlDeclaration xel = xml.CreateXmlDeclaration("1.0", "utf-8", null);xml.InsertBefore(xel, xml.DocumentElement);//版本信息放入跟元素前面Xml... 阅读全文
posted @ 2009-07-10 20:44 itliyi 阅读(274) 评论(0) 推荐(0) 编辑