> Hello, > > Been a while since I've asked for help so hopefully this plea works! > > Basically, I want to provide data from my database to other websites > in the form of simple cut and paste JavaScript code which other > webmasters can include in their plain HTML websites. It's a simple > data structure - your basic address book stuff: company name, address, > phone, etc. > > Can anyone provide a simple example of how another website, using > JavaScript alone, can query my system to return an XML package back to > them which is then interpreted on their end with the simple JavaScript > I give them? I'm sure this is pretty common since I see it done with > newsfeeds and such all the time. > > ---mark
Mark, Apple's Developers site has a pretty good demo of this - http://developer.apple.com/internet/webcontent/xmlhttpreq.html It uses the XMLHttpRequest object to return an xml package. hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214065 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

