1
我有以下幾點:劍道numberictextbox邊境
@(Html.Kendo().NumericTextBox()
.Name("Qty")
.HtmlAttributes(new { style = "width: 80px;height: 15px;font-size: 11px;" })
.Format("#")
.Value(1)
.Spinners(false))
在JavaScript中,我有這樣的:
var widget = $("#Qty").kendoNumericTextBox().data("kendoNumericTextBox");
widget.wrapper.css("border", "1px solid red").find(".k-select").hide();
我怎樣才能解決這個問題,使紅色邊框出現在盒子的底部?
您需要使用您的瀏覽器開發者工具才能看到 - 爲什麼不顯示邊界?它是隱藏的還是這個CSS規則被覆蓋?如果它被覆蓋,那麼通過哪個規則? –