My Asp.net mvc action result is passing a query string with the name "RowTobeHighLighted". My goal is to retrieve the value of this query string from the controller action and use it in a text/javascript script. I attempted using Request.Querystring() in JavaScript, but it did not work.
Is there a way to obtain the query string value from the controller action? Alternatively, can I access the value of viewdata within a
<script type="text/javascript">
tag?