摘要: <script>function JSClass(){ this.Attribute1 = null; this.Attribute2 = null; this.Method1 = function() { alert("ffff"); }; this.Method2 = function() { }; this.toString = function() { return '[class JSClass]'; };}var jsclass = new JSClass();alert(jsclass);jsclass.Method1();< 阅读全文
posted @ 2006-08-31 14:06 ZetaChow晓代码 阅读(128) 评论(0) 推荐(0) 编辑