mgm_03 Posted May 3, 2006 Share Posted May 3, 2006 This is a generic question but I'll use Yahoo! maps as an example.Suppose I have a database of property addresses. I want to create a link that, when clicked, sends the street address, city, state to a 3rd party site (like Yahoo maps) to pre-populate the HTML form.There are other sites I'd like to do this with. Even better, I'd like to be able to automatically submit the form.Where would I learn to do this? Quote Link to comment Share on other sites More sharing options...
craygo Posted May 3, 2006 Share Posted May 3, 2006 First you have to find out what parameters the particular site needs to display the information. If the site uses the url for parameters then just go to the site, do a trial search then look at the url and setup your parameters accordingly. If the site does not use the url for parameters you might be out of luck unless you can contact them and ask for the parameter names to put in the info.example of a site address[a href=\"http://yahoo.com/maps/search.html?state=MA&city=boston&area=downtown\" target=\"_blank\"]http://yahoo.com/maps/search.html?state=MA...n&area=downtown[/a]With the above you would have to get state, city, and area to get the page to display correctly. so somewhere in your form you would have to use a "method=GET" and have these variables in the form. Or make sure they are in your link to the site.Hope that helps a littleRay Quote Link to comment Share on other sites More sharing options...
mgm_03 Posted May 3, 2006 Author Share Posted May 3, 2006 Thanks for responding. I think the Yahoo maps may not be a good example on my part.This is a site on which I'd like to automatically pre-populate the form instead of copy/paste.[a href=\"http://www.tad.org/Datasearch/re_location_search.cfm\" target=\"_blank\"]link[/a]And ideally, to be more sophisticated ...extract the data that results once the form is submitted Quote Link to comment Share on other sites More sharing options...
.josh Posted May 3, 2006 Share Posted May 3, 2006 think you're gonna have to look into javascript for that m8i also have to say be careful. questions like this are suspicious. like you want to cheat on a game or something. Quote Link to comment Share on other sites More sharing options...
mgm_03 Posted May 3, 2006 Author Share Posted May 3, 2006 Cheating? Games? .....hardly. Don't have any interest or time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.