2008年4月11日
摘要: JAVASCRIPT二维数组(实例) 通过声明二维数组绑定SELECT下拉菜单 ... 阅读全文
posted @ 2008-04-11 16:10 romce 阅读(16118) 评论(2) 推荐(0) 编辑
摘要: ///用户数据结构 function _tagUser() { this.UserId = 0; //0-4 this.UserName = ""; //5- this.Parse = function(VarTypeUser) { for (var i=0;i VarTypeUser[i] = String.fromCharCode(VarTypeUser.charCodeAt(i)^0xFFFF); this.UserId = VarTypeUser.substr(0,4); //0-4 this.UserName = VarTypeUser.substr(5); //4-- } 阅读全文
posted @ 2008-04-11 14:50 romce 阅读(19656) 评论(1) 推荐(2) 编辑