You also can do it transparently using ajaxanywhere.sourceforge.org Define a refresh zone around that dropdown you want to populate and then your onchange will do the regular re-post to bring data from server then instruct your zone to refresh and data will appear miracoulosly... :)
There are three advantages - don't need to get dirty handling and parsing data - your code doesn't change much - has failover support - if js is disabled your repost will happen and data will be right. Give it a try ;-) MC -------------- Original message ---------------------- From: "Dean, Michael" <[EMAIL PROTECTED]> > Madhav: > > > > I think the idea IS: Once your data stream (drop-down content) is > returned to the page (onReadyStateChange()), you'll have a JavasScript > handler in place to refresh your drop-down (you manipulate and re-render > the DOM node using Javascript). It is all done on the front-end... > > > > See: > > Ajax In Action <http://www.manning.com/books/crane> > > > > > > Michael Dean > > Senior Java Programmer > > Information Services Division/Application Development Section/CAPS > Maintenance > > Administrative Office of the Courts > > 360.704.4008 > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]