i am trying to clear the text when the user onclick on the text input control as shown below but its not happening... below is the code
var generate_message = $("<textarea onclick= if (this.value == Enter message here... ) this.value = rows= 5 cols= 45 id= comment >Enter message here...</textarea>");