title: alert not showing getElementbyId in javascript
body: <pre><code>function showPrice(){ 
  
      var a = document.getElementById("product_container15");
  
      if (a == "$1,599.00"){
          alert(a);
      }
      else {
          alert("$1,499.00");
      }
  }
  </code></pre>
  
  <p>This is returning $1,499.00 all the time.  I know I'm doing this wrong, or maybe there is a whole different way to write this.  I want the alert to show $1,599.00 if the id is "product_container15".  If it's not then the alert will show $1,499.00.  Could someone show me how this is done?  Thanks!</p>