Forum: JavaScript / DHTML / AJAX Jun 21st, 2007 |
| Replies: 3 Views: 2,510 Re: this pointer thanks for the answer SOS. but the onkeyup just calls the function in your example code. so -this- refers to the global (window) object, not the textbox. as i stated before i know that it is not... |
Forum: JavaScript / DHTML / AJAX Jun 20th, 2007 |
| Replies: 3 Views: 2,510 this pointer in the following script ~this pointer~(self variable) is used to bind
XHR to the object that calls the function. but i am wondering why it
is required. anonymous function assigned to the... |