In my Razor page I have an input box like this. I want to provide its contents as a parameter to the action link.
<input id="FullName" placeholder="Full name" />
@Html.ActionLink("beep", "Beep", new { Info = $("#FullName").val() })
I can access the value in the input box if I execute $("#FullName").val() from the console. However, it's not accepting the syntax in the action link (expects other characters, and such).
How can I retrieve the data and send it in?