nightrider
08-21-2003, 06:29 AM
Hello People,
Don't know much about javascript so here is a simple question.
I have a form field called search. I have also created a few hyperlinks with url pointing to different search engines. When I put the search keyword in the form field and then click on a link I want that value to be passed to the variable in the hyperlink.
How can this be achieved.
Example
form field_name =search_field
value = javascript
Links
1. Google link url = http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=javascript
2. Lycos link url = http://search.lycos.com/default.asp?lpv=1&loc=searchhp&tab=web&query=javascript
I want the javascript value to be derived from the search_field value when I click on each of the links.
Please help
Thanks
Don't know much about javascript so here is a simple question.
I have a form field called search. I have also created a few hyperlinks with url pointing to different search engines. When I put the search keyword in the form field and then click on a link I want that value to be passed to the variable in the hyperlink.
How can this be achieved.
Example
form field_name =search_field
value = javascript
Links
1. Google link url = http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=javascript
2. Lycos link url = http://search.lycos.com/default.asp?lpv=1&loc=searchhp&tab=web&query=javascript
I want the javascript value to be derived from the search_field value when I click on each of the links.
Please help
Thanks