i have created partial view in MVC3. now i want to send text box value as parameter of form submit on pressing the submit button
my partial view is like
@using (Html.BeginForm("Searching", "AccountManager", FormMethod.Post, new { name ="Wat should i put here" }))
{
<input id="account" type="text" class="s" />
<input id="Search" type="submit" class="b" value="hi" />
}
and my controller is like
public viewResult Searching(string name)
{
// bussiness logic
return view();
}