On Wed, Apr 9, 2008 at 7:50 AM, Eric Butera <eric.butera@xxxxxxxxx> wrote: > On Wed, Apr 9, 2008 at 2:34 AM, Jeremy O'Connor > <joconnor@xxxxxxxxxxxxxxx> wrote: > > OK, but my control only does the Ajax call when the user clicks the Go > > button, whereas the scriptaculous library does an Ajax call everytime > the > > user presses a key. > > Any library should be flexible enough to register event listeners on > whatever trigger needed. The event itself isn't as important as how > things are handled. > > I use YUI because it lets me focus on my work instead of browser > quirks. It is a little heavier but that is okay because they have a > team dedicated to testing all the A grade browsers so I don't have to. any js lib worth mentioning these days fits that description and prototype / scriptaculous is no exception. i wish it were modular, so i didnt have to send the whole damn library out to the browser on every request, when i might just need a few classes. whats more, although scriptaculous does provide some ui components and controls out-of-the-box, they dont appear to have nearly the gamut of extJs.. one of the things thats great about prototype is that they sort of map javascripts oo model to something of the paradigm that php has; primarily inheritance. i believe extJs errs more on the 'you need to understand js' side of things. -nathan