benfaust
06-28-2003, 08:57 AM
I have two questions to which I have been unable to find satisfactory answers. Thought maybe someone here could help.
1. I'm trying to use JavaScript to go to a URL that has an apersand (&) in it, but it keeps changing the character to & (or something like that). Are there special characters in which I can enclose the string which will keep JavaScript from changing or "interpreting" anything in it?
2. Is there some simple way to grab the contents of a file (preferably on a different server) into a variable?
Thanks,
-Ben
1. I'm trying to use JavaScript to go to a URL that has an apersand (&) in it, but it keeps changing the character to & (or something like that). Are there special characters in which I can enclose the string which will keep JavaScript from changing or "interpreting" anything in it?
2. Is there some simple way to grab the contents of a file (preferably on a different server) into a variable?
Thanks,
-Ben