javascript - Input-field: pre-filled value not deletable, but extendable -


as i'm not familiar javascript, did research around web have sth. go on, not able solve problem.

i created fiddle show how shall like. well, problem light-grey pre-filled value "e-mail" shall not deletable, value shall extendable in black font color.

have got idea how make happen?

thank you.

try this

http://jsfiddle.net/wf9zx/2/

use lable input field , concat input field value , lable text


Comments