document.body.contentEditable=”true”
输入后,回车,就可以编辑网页中的数字了。
document.body.contentEditable=”false”
输入后,回车就关闭编辑