homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

not working

 3:31 am on Feb 11, 2006 (gmt 0)


Is it possible to get HTAs to get a file (say, [google.com)...] with AJAX and alert the contents? I have tried various different examples on the net, but they appear to only work in server-hosted text/html files.




 6:56 pm on Feb 11, 2006 (gmt 0)

I've never tried AJAX so this is just a guess. Try setting the navigable [msdn.microsoft.com] attribute to "yes"


 6:59 pm on Feb 11, 2006 (gmt 0)

Oh, I didn't notice "alert the contents". I think you'd need to save the page first then read the contents.

Bernard Marx

 9:32 pm on Feb 11, 2006 (gmt 0)

Should be OK, adni. I have some HTAs that use the XMLHTTPRequest objects, and they work fine. Show us a little code.

Do you want synch or asynch?

- If it's asynch, and you only want the response as text, the you could go for the simple option with the long-forgotten IE default behavior, download:


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved