title: Give values in jquery javascript
body: <p>I want know if this it´s right :</p>
  
  <pre><code>&lt;script&gt;
  
  var id = "1";
  var element = "car";
  
  if (element + id == "car") {
      alert("ok");
  }    
  
  &lt;/script&gt;
  </code></pre>
  
  <p>The problem for me it´s i don´t know if it´s possible write element+id , or by other side it´s bad , only that´s it </p>