Hi Dan, Yes. I thought the terms were interchangeable. :)
Basically, you add an onchange event handler to each select box that invokes the XMLHTTPRequest to fetch your .taf with the select box's currently selected value as a GET attribute to the page. Then you parse the XML document and use it to populate the next select box on the page. ********************* Mike Arace Web / Database Developer, NIDB Contractor DECA/CIT/NIH 301.594.9040 -----Original Message----- From: Dan Stein [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 12:06 PM To: [email protected] Subject: Re: Witango-Talk: Drill down lists Mike I don't need drop down lists but drill down lists will this still work? Dan on 5/23/05 11:42, Arace, Mike (NIH/CIT) at [EMAIL PROTECTED] wrote: > Hi Dan, > > I've done a fair amount of work with something called the XMLHttpRequest > object that can be used quite successfully to accomplish this. It is > compatible with all of the major browsers, and I have gotten it up and > running in IE, Firefox, Netscape, and Safari for our own applications. > > Basically, you make a Witango page that returns an XML document that > contains the information you are interested in and parse that in javascript > to create your drop down lists. The benefit to this is that you do not need > to do a page refresh every time the user changes an option, since the > XMLHTTPRequests are called in the background on a currently loaded page. > Google makes extensive use of this in gmail and maps, so there is some > industry support. > > Check out this URL for more details: > > http://www.xml.com/pub/a/2005/02/09/xml-http-request.html > > There are some browser specific tweaks you need to pay attention to, such as > IE's non-standard object names (their XMLHTTPRequest is created like an > ActiveX object) and Safari's weird casting when creating DOM objects (you > need to be careful with the names you give your elements in your XML > documents or they end up being cast incorrectly) but it is definitely doable > with a little work. > > ********************* > Mike Arace > Web / Database Developer, NIDB > Contractor > DECA/CIT/NIH > > > -----Original Message----- > From: Dan Stein [mailto:[EMAIL PROTECTED] > Sent: Monday, May 23, 2005 10:54 AM > To: [email protected] > Subject: Witango-Talk: Drill down lists > > I need to create a list like this > > Generic Drug Name > Formulations > Programs > > I want the users to see a lists of the generic drugs and then when they > click on the arrow they see the list of formulations then find their > formulation and arrow drops down list of programs > > I need it to be compatible on ALL browsers Mac and PC > > So I am thinking XML is better than JS > > Can anyone either point me to a component of else a best resource to start > at. > > Project is for a non-profit so not lots of bucks to spend on consulting but > if someone wanted to help me with this part and we could agree on a fee I am > willing to learn of course. > > Dan > > > -- Dan Stein FileMaker 7 Certified Developer Digital Software Solutions 799 Evergreen Circle Telford PA 18969 Land: 215-799-0192 Cell: 610-256-2843 Fax 413-410-9682 FMP, WiTango, EDI,SQL 2000, MySQL, CWP [EMAIL PROTECTED] www.dss-db.com "The love of one's country is a splendid thing. But why should love stop at the border?�"��������������������������������������������� Pablo Casals ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
