capture contents from a html page

admin

Administrator
Staff member
Hi there,

I am new in this forum and new to javascript as well.
What I would like to do is to read the contents of a page and store them in a String variable.
E.g.:
myString = getContents("http://foo.bar/something.html);

The problem is to find a way for this "getContents(URL)"... I've searched several tuturials, but I did not find any hints how to do this.
Is it not possible in javascript to read the contents of a webpage? :confused:
Best regards,
foobaz
 
Back
Top