Welcome to WebmasterWorld Guest from 54.163.100.58

Forum Moderators: open

AJAX in HTAs

not working

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

WebmasterWorld Senior Member 10+ Year Member



Hello.

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.

Thanks!

gph

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

10+ Year Member



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

gph

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

10+ Year Member



Oh, I didn't notice "alert the contents". I think you'd need to save the page first then read the contents.
9:32 pm on Feb 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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:

[msdn.microsoft.com...]

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month