摘要: public static String bSubstring(string s, int length) { byte[] bytes = System.Text.Encoding.Unicode.GetBytes(s); int n = 0; // 表示当前的字节数 int i = 0; // 要截取的字节数 fo... 阅读全文
posted @ 2008-11-23 22:14 hesion001 阅读(215) 评论(0) 推荐(0) 编辑
摘要: var ajax = function(){}; var IsUndefined = function(v) { return typeof v == 'undefined' ? true : false; } ajax.CreateXMLHttp = function() { if(window.XMLHttpRequest) ... 阅读全文
posted @ 2008-11-23 22:12 hesion001 阅读(190) 评论(0) 推荐(0) 编辑