I dont know js at all. So, can someone please help me giving a script that does the following work.
When someone clicks the form field ( say INPUT ) the initial value in it is removed and when person clicks somewhere outside the field, the value is reset to its original state.
I mean initially the form has value "ANONYMOUS" , when clicked inside the field, the value is removed, when again clicked outside the field, again "ANOMYNOUS" comes in the field.
How to do this? Give me simple example
Thanks
When someone clicks the form field ( say INPUT ) the initial value in it is removed and when person clicks somewhere outside the field, the value is reset to its original state.
I mean initially the form has value "ANONYMOUS" , when clicked inside the field, the value is removed, when again clicked outside the field, again "ANOMYNOUS" comes in the field.
How to do this? Give me simple example
Thanks
