I'm really new in JavaScript and I would like to add to my input text, space insertion for IBAN account registering.
<input type=text name=iban onkeyup=if(this.value.length > 34){this.value=this.value.substr(0, 34);} />
There is my input field; could someone tell me how I can do this?