I have an input (type text) and I want lock typing letters, only numbers (you know: 0, 1, 2, 3, ...) but I don't know how I can do it using plain JavaScript (it is important, I don't want use jQuery).
My input:
<input type="text" id="input_number" class="input_child" value="" placeholder="1">