Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get input value from HTML files

Status
Not open for further replies.

g2000

Programmer
Aug 31, 2005
39
US
I wanna grab one hidden field from a HTML file. This file is from another site. Is that possible to do it?

I know it's easy if it's XML.
 
you need to use XMLHTTP. Here is the sample code...

Code:
<% 
    url = "[URL unfurl="true"]http://www.espn.com/main.html"[/URL] 
    set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") 
    xmlhttp.open "GET", url, false 
    xmlhttp.send "" 
    Response.write xmlhttp.responseText 
    set xmlhttp = nothing 
%>

-DNG
 
thanks a lot.

actually I am looking for one hidden field from that html.

Is there a quick way to grab that? Or I have to go line by line and search for that.
 
do you know that name of that field...if so, then you just use some string functions like Instr()

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top