I have the following:
<div>
<form>
<input id="toPay" type="text" readonly>
</form>
</div>
<div>
<form action="@Url.Action("Create", "Home", new {price = toPay.Value})">
<input type="submit" value="Pay"/>
</form>
</div>
I want to send the toPay value as a parameter to the Create action method that is of type HttpGet. How can I do something like this new {price = toPay.Value}