when calling a object in an html, should I use self.objectname
this.objectname or document.object name?
for example, i have a form called theform and a link called thelink
i can call
document.thefor m, but not document.thelin k
i can use both this.theform and this.thelink and self.theform and
self.thelink.
WHY? why thelink can not be called from document?
this.objectname or document.object name?
for example, i have a form called theform and a link called thelink
i can call
document.thefor m, but not document.thelin k
i can use both this.theform and this.thelink and self.theform and
self.thelink.
WHY? why thelink can not be called from document?
Comment