title: document.getElementById('textbox').value stopped working
body: <p>my code is very simple. I want the user to be able to type in a restaurant name and have my function tell them whether that restaurant serves Coke or Pepsi products. It worked fine an hour ago, but stopped working. Now, it shows the work "Pepsi" no matter what you type in. My guess is that there is something wrong with the if statements.</p>
  
  <pre><code>&lt;html&gt;
  
  &lt;noscript&gt;&lt;b&gt;&lt;center&gt;&lt;font size="16"&gt;This app requires JavaScript to be enabled. Enable JavaScript on your browswer to make it work.&lt;/font&gt;&lt;/center&gt;&lt;/b&gt;&lt;/noscript&gt;
  
  &lt;center&gt;
  &lt;form onsubmit="popproducts()"&gt;
  
  &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
  &lt;input id="textbox" type="text" style="height: 100px; width: 500px" value=""&gt;&lt;/input&gt;
  &lt;/br&gt;&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;
  
  &lt;/form&gt;
  &lt;/center&gt;
  
  &lt;script type="text/javascript"&gt;
  
  function popproducts()
  {
   if(document.getElementById('textbox').value == "Cougars" || "Kane County Cougars" || "Cougars Baseball")
   {
    document.write('&lt;center&gt;&lt;br&gt;&lt;font color="#0000FF" size=20&gt;&lt;/b&gt;Pepsi&lt;/b&gt;&lt;/font&gt;&lt;/br&gt;&lt;/center&gt;');
    document.write('&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;form&gt;&lt;input type="button" style="height: 100px; width: 100px" value="Back" onClick="history.go(-1);return true;"&gt;&lt;/form&gt;&lt;/center&gt;&lt;/br&gt;&lt;/br&gt;');
   }
   if(document.getElementById('textbox').value == "Burge" || "Iowa" || "University of Iowa")
   {
    document.write('&lt;center&gt;&lt;br&gt;&lt;font color="#FF0000" size=20&gt;&lt;b&gt;Coke&lt;/b&gt;&lt;/font&gt;&lt;/br&gt;&lt;/center&gt;');
    document.write('&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;form&gt;&lt;input type="button" style="height: 100px; width: 100px" value="Back" onClick="history.go(-1);return true;"&gt;&lt;/form&gt;&lt;/center&gt;&lt;/br&gt;&lt;/br&gt;');
   }
  }
  
  &lt;/script&gt;
  
  &lt;/html&gt;
  </code></pre>