title: jquery value outputing into if statment
body: <p>Im taking value from input element and trying to insert into if statement.
  how can I output the value ?</p>
  
  <pre><code>$( "#vote_description" )
    .click(function() {
      var value = $( this ).val();
      var val2 = value.lenght;
    })
  
  if(  value from jquery function   &gt;=10){
  </code></pre>