Reading an html file in a javascript variable.

T

Timmy

Hi,

Is there anyway to read an html file into a javascript variable or
execute a script src and load that output into a variable in the
calling page?

Thanks,

Tim
 
M

Michael Winter

Is there anyway to read an html file into a javascript variable or
execute a script src and load that output into a variable in the
calling page?

For the first part, read the FAQ:

http://www.jibbering.com/faq/#FAQ4_38

For the second, I don't know what you mean. You can't "execute a script
src". Furthermore, there is no defining output from a script element. If
it modifies the document, it will do it directly.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top