Re: using setTimeout when using prototype
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: using setTimeout when using prototype

From: Nathan White <changereality@gmail.com>
Date: Tue Jan 31 2006 - 20:21:48 CET

processForm=function(inservleturl) {
        this.inservleturl = inservleturl;
        this.submitForm();

}

        processForm.prototype.submitForm2=function() {
        }

        processForm.prototype.submitForm=function() {
                                          var self = this;
               setTimeout(
                                        function(){ self.submitForm2();}
                                        , 20);
        }
Received on Tue Feb 7 21:29:09 2006