Please check out the jsfiddle link below:
As you can see it is two search boxes with a button below it. How can I have it so text is in each box but when each box is clicked the text disappears?
Also if the box is clicked but nothing is entered the text reappears.
Thanks guys, I have been searching but I am unsure of what this is called or what language needs to be used.
Thanks again!
James
Use placeholder attribute on your inputs.