How to automate a script request?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Livin

    How to automate a script request?

    Below is the code I want to automate. Code from an ASP page that
    launches a query for more information on the item.

    <a href="javascrip t:GetAgent('BB2 67')">

    I want to run a local script on my machine that I can feed IDs
    (BB267 in the above example) and capture the responses from the
    remote web site to a database.

    thanks for the help!

    ----------------------------------------------
    Posted with NewsLeecher v2.3 Final
    * Binary Usenet Leeching Made Easy
    * http://www.newsleecher.com/?usenet
    ----------------------------------------------

  • RobG

    #2
    Re: How to automate a script request?

    Livin wrote:[color=blue]
    > Below is the code I want to automate. Code from an ASP page that
    > launches a query for more information on the item.
    >
    > <a href="javascrip t:GetAgent('BB2 67')">
    >
    > I want to run a local script on my machine that I can feed IDs
    > (BB267 in the above example) and capture the responses from the
    > remote web site to a database.[/color]

    Sounds like you need XMLHttpRequest. Either roll your own:

    <URL:http://jibbering.com/2002/4/httprequest.htm l>

    Or use something like the AJAX toolbox which makes the use of it a bit
    easier (but may have functionality you don't need):

    <URL:http://www.ajaxtoolbox .com/>


    --
    Rob

    Comment

    Working...