From: Raymond I. <xw...@ya...> - 2003-09-15 13:22:39
|
Hello Everyone, With the new dynapi.util.FileReader class it's now easier to read the content of any file on the server with just a few lines of codes: var fl = new FileReader(init); function init(){ var url = 'dynapi.util.filereader.xml'; var str = fl.read(url); alert(str); } That it! See the dynapi.util.filereader.html example Check out CVS or wait for the nightly snapshot -- Raymond Irving __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |