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.