I'd like to put a javascript variable value dynamically inside to a script src url.
<head runat="server">
<script type="text/javascript">
var id = $("[id$='hfProductIdList']").val();
</script>
<script type="text/javascript" src="https://test/tr.aspx?orderid=id">
</script>
</head>
If there is a way to set up these value dynamicly It would be great for me.