onkeypress='return /^d$/.test(String.fromCharCode(event.keyCode||event.keycode||event.which))'
oninput='this.value = this.value.replace(/D+/g, "")'
onpropertychange='if(!/D+/.test(this.value)){return;};this.value=this.value.replace(/D+/g, "")'
onblur='this.value = this.value.replace(/D+/g, "")'