title: If statement on a span value
body: <p>How can I make an alert in <code>jQuery</code> when a price is higher than 400.</p>
  
  <p><strong>Look at there:</strong> <code>&lt;span class="element-price-value"&gt;424,97&lt;/span&gt;</code></p>
  
  <p>If <strong>value is higher than 400</strong>, I need to make an overlay modal popup that continue is not allowed and page need to refeshed.</p>
  
  <p><strong>Here is what I did but didn't work...</strong></p>
  
  <pre><code>var price = $(".element-price-value");
  
  if(price &gt; 400){
      alert("Hello! I am an alert box!!");
  }
  </code></pre>