I created an input field (text) on a website with the default value "DE". Now i'm having the following problem.
<input type="text" id="iban" value="DE" />
When the user clicks in the textbox the default value "DE" should not be deleted and the user should only add numbers after the default value in the textbox. So i'm searching for a js function which makes the default value of a textbox as readonly. The user should not delete the default value.
If this is possible, how does it work?