I have an input where the user can enter an phone number (national format) value. The "09" numbers are part of the phone number of the input field so the user only needs to enter the rest of the phone number. I'd like to have the "09" numbers as html and make it unselectable/uneditable. Is this possible?
Asked
Active
Viewed 57 times
-2
-
1Yes, it's possible. – Koby Douek Dec 16 '18 at 12:27
-
You want "09" to be a part of the input value? – Salman A Dec 16 '18 at 12:34
-
yes, 09 is a part of the input value – mr.sohrab Dec 16 '18 at 13:53
1 Answers
0
It will help if you showed what you tried as well. but not knowing that, will the below work for you?
<label for="tel">09</label> <input id="tel" type="number" placeholder="Enter your telphone number">
you can also achieve this in bootstrap way as described here

Krishna
- 2,451
- 1
- 26
- 31
-
"09" is a part of the input value . i want somthing like this solution with JS. http://jsfiddle.net/QrrjW/1/ – mr.sohrab Dec 16 '18 at 13:56