Often there may be requirements that a html form with a textarea containing a default text clears automatically when someone selects/clicks on the textarea.
This is achieved as below.![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT7oSxcY9IOEmnf2QBoO7PwCqqNTRskYn_zzSWslcSQYiDkAUnHaRDWkqAGEd6MHfcF351s9IndBkUTL4Z6nDK2gSzsRkalIXLCdL12Ku5MBvSJIZWjdHyhqm5RKHah0UFkEuRKjqpmu4/s400/Screenshot-22.png)
Today while migrating the application, I was in need of having a textfield which takes time as an input. For this reason I needed a time picker, which will help the users to enter the time just by selecting something. I searched in web for this and found one from http://www.nogray.com/time_picker.php. This is very useful source for some most widely used javascripts like calendar, color picker, menubar etc.