Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
javascript: reading from URL?
Name: Johanovitch Date: June 30, 2002 at 15:18:46 Pacific
Comment:
Is there a way to read from an existing webpage (I mean reading the html-code) using javascript?
I know how to read from an url in a javaprogram, but I don't know how or if I can convert it to a javascript.
the thing I want to accomplish is to read certain lines of the html-code from a page and display them somewhere in my webpage. In this way, I don't have to update my own webpage when the data changes on the other page. (to get it working, reading only the first line is good enough for me, the rest I should be able to solve myself.)
thanks Johan ps, if it's to difficult to display the code in a post, please email me.
or you can replace the second window.location with a URL.
0
Response Number 2
Name: Johanovitch Date: July 16, 2002 at 13:17:43 Pacific
Reply:
Hmm, I'll see what I can do with that.
A friend told me that I need JSP to run on my server to be able to do that, because then, you would be able to run normal javaprograms... didn't try that out yet...
Summary: hello, i am trying to read from a file and take certain lines from the file and store them in an array. the program works fine if i store it in a variable but when i try to store it in an array it doe...
Summary: How do I get my input stream to read from the next line of input when reading from a ".dat" file. I'm using the "getline" function to do my extraction, but how do I get it to read to the next line? ...
Summary: I'm wanting to have my program write data to a text file, and then have the ability to read back from it... so far I can get it to write to the file...but I'm damned if I can get it to read from it! A...