On my website I am having a text-box and I want to give it this type of functionality:
http://kyleschaeffer.com/best-practices/input-prompt-text/
On the above website javascript code is given but how can I actually combine it with my asp.net text-box server control. Also the initial text which I want to assign it will be coming from code behind.