Source code

Revision control

Other Tools

Test Info:

<style>
input:focus { counter-increment: c; }
</style>
<script>
function go() {
a.select();
}
</script>
<body onload=go()>
<input id="a" type="number" contenteditable="true">