url was constructed, check out http://developer.yahoo.com/search/web/V1/webSearch.html. I've wrapped it so it fits onscreen for this presentation; you are encouraged not do to this.this keyword in doStuff: in this particular case, we can get away with using this instead of the full path to the function, which would be SEARCH.runScript(). We do this wherever possible, to minimize the number of times we'll need to find and replace SEARCH.doMyFunction() with something else when this Web app is ported to a different site.prev - http://kentbrewster.com/build-a-search-app/code/code5.html - next