Image

Imagesetm_ctrll wrote in Imagejavascript 😯confused

Amazon search results

Hi.
I tried writing a page to go straight to amazon book search results, instead of needing to wait for amazon.com to load.
<html&rt;
 <head&rt;
  <title&rt;Search</title&rt;
  <script type="text/javascript"&rt;
   //<!--
   function amazonFind(){
       window.location="http://www.amazon.com/exec/obidos/search-handle-form?url=index%3Dstripbooks&field-keywords=" + document.searchBox.amazonText.value + "&Go.x=10&Go.y=10&Go=Go";
   }
   //--&rt;
  </script&rt;
 </head&rt;
 <body bgcolor="lightblue"&rt;
  <center&rt;
   <form name="searchBox"&rt;
     Amazon book search     
     <input type="text" size="40" name="amazonText" /&rt;
     <input type="button" onclick="amazonFind()" value="Search" /&rt;
    </form&rt;
  </center&rt;
 </body&rt;
</html&rt;

But it doesn't work. Thanks in advance.