value
$(document).ready(function () { $("#Languages").change(function () { var value = $(this).find('option:selected').val(); @Html.Action("Index", "MyController",new{id=model.Guid, name= value); }); });
the name 'value' does not exist in the current context
pass javascript variable to razor
@Html.Action
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)