Question

The question raised from the question here. In order to have search engines in Browser, I need to find a way to get the parameters to url.

Suppose you have Google Sites where you have Google Gadget. The gadget has a search box.

How can you give the search parameters to the search box?

Was it helpful?

Solution

This is described in the HTML 4.01 specification: http://www.w3.org/TR/html4/interact/forms.html#h-17.13.3

Essentially you append a "?" to the URI, then create sets of key=value pairs which have special characters represented by escape sequences. Then append the pairs to the URL, separating each pair with an ampersand or semi-colon.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top