I admit I'm a bit stumped why this is not working.
I have an input that I am masking and that is working perfectly, however it seems if you select the text then it 'reveals' the real value.
To solve this, I would like to disable the user from being able to highlight the text in the input. Before you say this is bad usability, I'm working on touchscreens only and this will really just stop it from highlighting if they click too many times.
I have tried putting
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
on both inputs, but it still wants to select. Is there any other way to accomplish this? This is all I could find when searching around.
and here is a fiddle to play with. http://jsfiddle.net/gtom9tvL/1/