views:

122

answers:

1

Hi,

I would like to set the default of a drop-down menu of a webpage by passing the default value in the url.

Id like to put a link on a another webpage to this site where the: "I would like my contribution to go to:" option is set to Pakistan: moonsoon floods e.g. by doing something like:

http://donate.ifrc.org/?desc=Pakistan: monsoon floods

but this doesnt seem to work. Any ideas i want to put up this link to get as many people to donate as possible. Thanks.

~f

+1  A: 

Unless the site you are linking to has specifically included code on their pages to support it, you are not going to be able to control how their site performs by changing the URL.

If you were trying to do this on your own site, you could easily do it by referencing the querystring parameters in whatever server-side language you built the site with, or on the client-side via Javascript. But in either case, the site itself controls how it responds to a URL, not the other way around.

JGB146