title: how to pass js integer value as integer in PHP?
body: <pre><code>&lt;script type="text/javascript"&gt;
      var int_val = 111;
  &lt;/script&gt;
  
  &lt;?php
      $js_int_val_in_php ='&lt;script&gt;document.write(int_val);&lt;/script&gt;';
      echo $js_int_val_in_php; // 111
      echo '&lt;br&gt;';
      echo gettype($js_int_val_in_php); // string  
      // but I want it as an integer
      // even settype(); does not help!!
  ?&gt;
  </code></pre>
  
  <p>Anyone has any good idea how do I pass js integer value as integer in PHP?? I love jQuery but in this situation, please no jQuery suggestion.</p>