I am using this plugin and it works great but i cant edit the text ...if i click on it, it disappears. Is there an easy way to i开发者_如何学Gomplement that or any other plugin that maybe able to help me
I just wrote a similar snippet that may be useful to you. It would use the html5 placeholder
attribute if it were available to the browser, and would fall back if the browser didn't support it.
Link to jsfiddle snippet
Link to other SO post
Edit : I misunderstood your post, sorry.
Try this example out. It's not very complicated, but it is a small plugin that should get you started. Maybe you could give a little more information, since I don't know why you would want to do this other than to pre-populate the inputs with values.
Using @Tom's comment I rewrote this jsfiddle. There are many ways to achieve this, assuming this is what you want.
精彩评论