<input name="Username" type="text" id="Username" width="auto" height="auto">
我想知道 auto 的值...其背后的 Integet 值。
最佳答案
使用 JavaScript:
document.getElementById("Username").clientWidth
document.getElementById("Username").offsetWidth
关于javascript - 输入字段中的 'auto' 的值是多少,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6439707/