Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
AJAX in HTAs not working adni18 msg:1492948 3:31 am on Feb 11, 2006 (gmt 0) Hello.
Is it possible to get HTAs to get a file (say, [
...] 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. google.com)
gph msg:1492949 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" gph msg:1492950 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 msg:1492951 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: