How to make only some text in a text-box read-only while allowing the rest to be edited. I'm trying to make a text box that allow user to input text and then there is some read-only text (non-editable) at the end of the text box. How can I do this in Javascript/jquery?
Eg of an input field:
DELIVERY ADDRESS
Enter your home or apartment number, ABC Area, XYZ Town
In above eg user is asked to provide home or apartment number and ABC Area, XYZ Town is a predefined value (already provided at some stage). If I split them in 2, most user put their complete address in the text field resulting in duplication of data. I need to avoid this duplication.
Thanks a mill in advance for your help.