Parameters needed for talking to an HTML web form
Please view the page linked below to understand the question.
http://forecast.weather.gov/zipcity.php
How would I go about finding the name of that city/state/zip text input field?
I need to allow a user to enter the city,开发者_如何学运维 state or zip into my own text field and then submit that to the above website's form but I don't know how to specify that specific field.
http://forecast.weather.gov/MapClick.php?CityName=City&state=ST(ate)
http://forecast.weather.gov/MapClick.php?CityName=Tucson&state=AZ
I recommend you download firebug for firefox - it makes analyzing web pages vastly easier. Until then, you'll just have to look through the page source by hand.
But yes, the name of the field is 'inputstring'
精彩评论