I have a button, which when clicked I want to disable.
<input type="submit" value="Save" class="btn btn-default" name="submit" style="float: right; position: relative; right: -18px;" />
The value "Save" needs to pass from the button to the controller:
public ActionResult EditCall(ModelCallDetails call, string submit)
but, obviously when I put an OnClick event such as disable, the parameter is not pushing to the controller.
Is there anyway of actually passing the value to the controller, the form is still posting the model info.