我很努力地使用JavaScript中的方法。从对象内部调用javascript方法
obj = function(){
this.getMail = function getMail(){
}
//Here I would like to run the get mail once but this.getMail() or getMail() wont work
}
var mail = new obj();
mail.getMail();
如何让我的方式方法,我既可以在物体内部和外部
由于运行
感谢您的链接,真正有用的工具。 – John 2010-05-12 02:16:59