1

テキスト入力の値を取得してMVC4のActionLinkに設定するには?

GET メソッドを使用して、テキスト入力の値をコントローラーに渡したいと考えています。

<input id="search_query" type="text" class="search_input" />
@Html.ActionLink("Search", "Search", null, new { id = search_query }, new { @class = "Button"})
4

1 に答える 1