function putHeader() {
headerCode = "<div id=\"header\">"
+ "<div id=\"actions\">"
+ "<a class=\"accounts\" href=\"\">SIGN IN</a> <img class=\"sep\" width=\"5\" height=\"5\" src=\"
<a class=\"accounts\" href=\"\">REGISTER</a><br />"
+ "<a id=\"download\" href=\"\">DOWNLOAD TOOLBAR</a>"
+ "</div>"
+ "<img id=\"logo\" src=\"
width=\"153\" height=\"62\" alt=\"Gotuit Media: Don't Just Watch It. Gotuit. (TM)\" />"
+ "<form name=\"form1\" action=\"
method=\"GET\" >"
+ "<img src=\"
width=\"155\" height=\"15\" alt=\"Find It Here. Find It Now.\" />"
+ "<div id=\"search_box\">"
+ "<input type=\"hidden\" name=\"Op\" value=\"search\"/>"
+ "<input type=\"hidden\" name=\"operator\" value=\"gotuit\"/>"
+ "<input type=\"hidden\" name=\"results\" value=\"10\"/>"
+ "<input type=\"hidden\" name=\"query1\" value=\"most recent scenes\"/>"
+ "<input id=\"search\" type=\"text\" name=\"query\" value=\"search\" />"
+ "<input type=\"image\" width=\"39\" height=\"50\" alt=\"search\" src=\"
/>"
+ "</div>"
+ "</form>"
+ "</div>"
...
}
I have attached the JavaScript. This JS is the 'top' page.
I know 'default' value is the one we type in the html code. I just want to update/set 'default' value, whenever user hits the submit.