Hi
I have a local variable called mode in JQuery function. Based on the radiobutton selection, this variable value is set in JQuery function.
Now i want to access this value in COntroller? How can we do this.
$(':radio').click(function() { var mode = this.value; });
Now How can I access this mode variable in my controller method.
[HttpPost] public ViewResult ExportToExcel(string mode) { }
Appreciate your responses.
Thanks