Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我radcontrols在我的项目中使用。如何获取 rad 文本框值的长度。如果我输入12345,长度应该是5。
radcontrols
12345
5
尝试这样的事情
var textbox = document.getElementById("mytext"); var textlength = textbox.value.length;