title: If statement not working properly even though everything is right
body: <p>I am just trying to see if one variable has a specific value and an other variable another specific value. And if so, do something.</p>
  
  <p>So its simply an if statement.
  But it doesn't work. And i dont know why. </p>
  
  <p>So i have the variable : rights and seeprices
  'rights' alerts the following: "Individuell"
  And 'seeprices' outputs "preiseaendern".</p>
  
  <pre><code>var seeprices = $( "#seeprice").html();
  var rights = $( "#rights" ).val();  //Value of Combobox
  
  alert(seeprices + " " + rights); // seeprices outputs 'preiseaendern' and rights outputs 'Individuell'
  
  if (rights == "Individuell" &amp;&amp; seeprices =="preiseaendern"){
  alert("it works...");
  }
  
  </code></pre>
  
  <p>When i just use </p>
  
  <pre><code>if (rights == "Individuell"){
  alert("it works...");
  }
  </code></pre>
  
  <p>It works and i get the message 'it works...', but as soon as i add</p>
  
  <pre><code>&amp;&amp; seeprices == "preisaendern") 
  </code></pre>
  
  <p>It doenst work anymore, and i cant figure out why. 
  Thank you guys in advance.</p>