0
@using (var form = Html.BeginForm("SearchCustomer","Home")){
@Html.ValidationSummary(true)
<table>
<tr>
<td>
@Html.EditorFor(m => Model.SearchString)
</td>
<td>
</td>
<td>
<input type="submit" name="foo" data-role="none" />
</td>
</tr>
</table>
}
@using (var form = Html.BeginForm("SearchCustomer","Home")){
@Html.ValidationSummary(true)
<table>
<tr>
<td>
@Html.EditorFor(m => Model.SearchString)
</td>
<td>
</td>
<td>
<input type="submit" name="foo" data-role="none" />
</td>
</tr>
</table>
}
我希望輸入是jQuery手機樣式,但如果我將數據角色設置爲「按鈕」,則頁面爲空。我能做什麼?jQuery手機:輸入不在jquery手機樣式