title: How to pass value from javascript to php using address bar
body: <p>I have .js and .php files and html pages. I am including js files in html files and php files in js files. </p>
  
  <p>I want to pass 'cat' value from js file to php file using address bar when I go to this page;</p>
  
  <blockquote>
    <p>/demo/convert.html?cat=volume</p>
  </blockquote>
  
  <p>But I have no idea how to do this.</p>
  
  <p>By the way, this is a blacberry project and I am not sure if I can use address bar to pass value. Any idea is welcome.</p>