"You can also trigger custom events registered with bind." http://docs.jquery.com/Events/trigger#typedata
Usually called 'custom events'. Perhaps that's what you're looking for. You can create an event with any (available) name and using .bind() and .trigger(). - Richard On Fri, Dec 5, 2008 at 1:59 PM, paron <[EMAIL PROTECTED]>wrote: > > I made a searchbox object that I can add to a GoogleMap. It lets a > user draw a box on the map and keeps track of its max and min lat and > lon. > > I'd like to have it raise an "updated" event whenever either of its > internal draggable markers fires a "dragend." That way other objects > can watch for an "updated" event and hit the server to search inside > the new boundaries, or repaint the map, or update a database with the > new boundaries. > > I looked for a while at event delegation, but that didn't seem to be > the right topic. >