using setTimeout when using prototype
- From: "James Black" <planiturthian@xxxxxxxxx>
- Date: 31 Jan 2006 08:44:07 -0800
I have an object, and I define the following:
var processForm=new Object();
processForm=function(inservleturl) {
this.inservleturl = inservleturl;
this.submitForm();
}
processForm.prototype.submitForm2=function() {
}
processForm.prototype.submitForm=function() {
setTimeout("submitStep2()", 20);
}
How can the submitForm function's setTimeout call submitStep2?
Thank you.
.
- Follow-Ups:
- Re: using setTimeout when using prototype
- From: Nathan White
- Re: using setTimeout when using prototype
- Prev by Date: Select an Array, to Display
- Next by Date: Re: Performance: inline- vs. prototype-defined methods ?
- Previous by thread: Select an Array, to Display
- Next by thread: Re: using setTimeout when using prototype
- Index(es):