Hi
i have input type submit in my asp.net core mvc project
and i have to pass culture name to url in the input
i get culture name by
@{
Layout = "~/Views/Shared/_Layout1.cshtml";
var calt1 = System.Globalization.CultureInfo.CurrentCulture.TextInfo.CultureName;
}
input submit code
<input type="submit" value="Ship Order" onclick="return validateInput()"
class="btn btn-primary form-control"
formaction="/Order/ShipOrder" formmethod="post" />
i want to pass var cult1 to url like
<input type="submit" value="Ship Order" onclick="return validateInput()"
class="btn btn-primary form-control"
formaction="/(calt1)/Order/ShipOrder" formmethod="post" />
Thanks