javascript - How to block writing in input text? -
I'm just making a booking system and I want the user to select a date from the calendar and it will show in the input Lesson - Which I Did!
Now I want to block typing in the input text (just get to the calendar where the user selects the date). How do I do this? I think javascript, but how? I do not know much ..
Thank you very much!
& lt; Disabled property will prevent any user input, but you still have to use it through your Javascript calendar method. Can write.
Comments
Post a Comment