@Html.TextBox()只允许输入正整数
@Html.TextBox("searchStockQtyEnd", ViewBag.currentStockQtyEnd as string, new { @class = "gate-input-search form-control", @style = "margin-right: 65px;max-width:200px;", @type = "number", @oninput = "value = value.replace(/[^\\d]/g, '')" })使用下面这种@type
原创
2021-05-07 09:54:01 ·
497 阅读 ·
0 评论