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.
<script type="text/javascript">
$(function () {
$('#testRater').rater({ postHref: 'RatingHandler.ashx?ItemId=' + somevalue });
});
</script>
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??