I have a text field containing ‘Enter search string…’ for example.
When the text field is focused I want it to remove this text and then on blur to stick it back in (if the user hasn’t entered any of their own text in the field)
Is there a Yii way to do this or do I have to write the JS to do it?
Would be nice to have something similar to ‘prompt’ attribute like in dropdown list box.