Is there a way to clear the label inside an exposed filter textbox when the user clicks on it?
For example, I have an exposed filter with the label "Enter Model Number Here". So when I click to enter the text their I would like the label to be cleared.
Thanks!
Nimi
Comments
Comment #1
dawehnerYou could do this with custom js code.
See http://drupal.org/node/121997 and jquery in general.
Comment #2
nimi commentedCould you be a bit more specific?
I know it should be a combination between javascript/Jquery i'm just not sure how to go about it.
How do I specifiy that specific label?
Where do I put in that code, in a custom tpl file or template.php?
Thanks,
Nimi
Comment #3
dawehnerhttp://drupal.org/node/301181 helps to select a specific label.
For example the status element of this form would be