This is my link inside modal
<a id="modalRelease" value="" class="btn btn-primary" target="_blank" href="@Url.Action("GoToReleaseNotes", "CoreTRac", new {path = @"C:\Gowresh\C# training\Assignment\CoreTrac Version Details\CoreTrac Version Details\Resources\Release\3.76 HFA.pdf"})">Release Note </a>
As you can see the value is empty as I am setting the value from JS as below
var releaseNote = e.relatedTarget.dataset.param3;
$("#modalRelease").val(releaseNote);
So I am expecting the link to call a Controller action method by changing the parameter each time i.e
new {path = "How to read the value attribute and assign here "}
But for now I have hardcoded the path, I need it to be as the value attribute which I am setting from JS. tried many things but no help