1

我需要从用户那里获得输入,例如他的名字,但用户将无法编辑他的名字,就像在文本框中一样。这就是我现在正在使用的:

<input id="number_input" type="text" size="12" maxlength="19" />

为了编写或编辑他的名字,用户将使用已经存在的按钮。就像在计算器中一样。我怎样才能在 html 中实现这一点?

谢谢。

4

1 回答 1

4

我可能会考虑使用这个: http: //net.tutsplus.com/tutorials/javascript-ajax/creating-a-keyboard-with-css-and-jquery/

在这里演示

于 2012-11-06T09:18:56.037 回答