html into js var
is there a way to extract the html source from a given url? I need to put this into a js vert scroller and can't seem to find any other way to do embed the data.
Thanks Felgall... Do I have any options? How can I embed html from a given URL into a js var?
There are in fact a couple of methods to avoid the cross-server security issue.
- Change your HTM or HTML extension to HTA
- load the hyperlink into an image and get the content from the error details
- load the hyperlink into a SCRIPT tag and get the content
- the most practical choice would be to go server-side
Last edited by Ultimater; 09-12-2005 at 06:41 PM.
You have given me some hope here. I haven't done any of my server side stuff yet. I need to do hit counters and form to mail CGI's, I'm not sure I have access to PHP and to be honest I've never done any PHP scripting. Can you tell me more about your #3 load the hyperlink into a SCRIPT tag and get the content, option you gave. This might be my simplest solution right now but I'd be open to anything that works right now.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)