title: How do I append current Query String into the .ashx url using jquery
body: <p>On the current page I have a Query String set as
  ~/Item.aspx?ItemId=somevalue
  Now I want to append it to the url inside the jquery.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function () {
          $('#testRater').rater({ postHref: 'RatingHandler.ashx?ItemId=' + somevalue });
      });
       &lt;/script&gt;
  </code></pre>
  
  <p>I am new to jquery and I'v been searching all around the web for this solution but can't find one. Please Guide me to the way to do so. 
  Or is it possible to use the query string of .aspx page in .ashx??</p>