In my scenario, i need to get QueryString value on page load on Partial view in MVC my code is:
<script type="text/javascript" language="javascript">
$(document).ready(function () {
var industries = '@Request.QueryString["industries"]';
alert(industries);
});
</script>
When i rendering QueryString value that time it is working fine but in Javascript it's not working.