stefan9876
New Member
I am trying to make a website specific search box.Just a basic one for educational purposes so looks do not matter.What i have is this HTML code:\[code\]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Search Engine</title></head><body><form action="http://www.google.com/search" method="get"><input type="textbox" name=q><input type="submit" value= "http://stackoverflow.com/questions/14551315/search" /></form><br /><select name="domainroot"><option value="http://stackoverflow.com/questions/14551315/www.ign.com/search" selected="selected">Files</option><option value="http://stackoverflow.com/questions/14551315/www.gamespot.com/search">Torrents</option></select></body>\[/code\]What i am trying to do is not a google site search, i added that because i was testing and thought it would somehow help.What i am trying to do is to search a specific site based on the dropdown menu when i hit search it is supposed to redirect to the results page of that website using the query of my search box.How do i do this?Will there be Javascript needed in my file folder?If so, could you please give me the code that tells it that it is linked? Href or something?I am so sorry if this sounds noob but i am only trying to learn HTML...