title: Find whether a number is greater or not
body: <p>I want to test whether a request parameter is greater then 12 or not  JavaScript.</p>
  
  <p>It always gives the alert "lesser" even when I change the value of q to 12.  </p>
  
  <p>The current URL is: <code>www.test.com?id=2</code></p>
  
  <p>How can this be done in JavaScript?</p>