Here is the code I am working from:
I wanted to put something at the end of this textbox, for example, two letters and an image to the end of the field like “UK ” and this whole extra area is clickable as a link.
What is the correct way of doing this?
As @SvenBieder mentioned in his comment, you could accomplish this by putting the input field and anchor inside of a wrapper element and position/style them accordingly.
http://jsfiddle.net/5yEGX/5/