定位 document.getElementById(“div的Id”).scrollIntoView();
限制input只能输入数字
onkeyup="this.value=this.value.replace(/[^\d\.]/g, '')"//这是小数
不要小数
onkeyup="this.value=this.value.replace(/\D/g, '')"
让物体在页面最右边
float: right
定位 document.getElementById(“div的Id”).scrollIntoView();
限制input只能输入数字
onkeyup="this.value=this.value.replace(/[^\d\.]/g, '')"//这是小数
不要小数
onkeyup="this.value=this.value.replace(/\D/g, '')"
让物体在页面最右边
float: right