Howdy, Stranger!

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

Categories

reading data from an html page

mertakbmertakb Member Posts: 17
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

  • FlakesFlakes Member Posts: 642
    : 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
  • aaronjones3593aaronjones3593 Member Posts: 122
    : : 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();


  • FlakesFlakes Member Posts: 642
    Do you know what you are doing ? replying to one year old posts ?;-)

  • aaronjones3593aaronjones3593 Member Posts: 122
    : 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.