reading data from an html page

I need to write a code which can retrieve data from a web page opened in a browser. This code needs to browse the html code to get the desired data.
I do not know the code to read an open web page.

Comments

  • : I need to write a code which can retrieve data from a web page opened in a browser. This code needs to browse the html code to get the desired data.
    : I do not know the code to read an open web page.
    :


    http://www.aspfaq.com/show.asp?id=2173
  • : : I need to write a code which can retrieve data from a web page opened in a browser. This code needs to browse the html code to get the desired data.
    : : I do not know the code to read an open web page.
    : :
    :
    :
    : http://www.aspfaq.com/show.asp?id=2173
    :

    use javascript like this, then store the value in a form and use javascript to post the form to an asp page

    [code]



    // Page to read contents of below //
    var windowOne = window.open("somepage.htm", "_blank");
    // End page to read contents of //
    var pageContents = windowOne.document.body.innerHTML;
    document.getElementById("txt1").value = pageContents;
    document.postForm.submit();


  • Do you know what you are doing ? replying to one year old posts ?;-)

  • : Do you know what you are doing ? replying to one year old posts ?;-)
    :
    :
    yes so it is 1 year old, so what? :)

    jus submit ma ideas, i do
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories