By John Yates on
I've made a simple webform (using the webform module) with a textarea containing the words "type your message here". I'd like the default text to disappear when the user clicks in the box to type. How do I do this?
I've made a simple webform (using the webform module) with a textarea containing the words "type your message here". I'd like the default text to disappear when the user clicks in the box to type. How do I do this?
Comments
Try this module
Try this module http://drupal.org/project/hint
http://drupal.org/node/606834
add a jQuery code into hook_init()
drupal_add_js('jQuery(document).ready( function () { $('textarea#mytextarea').click( function() { this.val(''); } })', 'inline');
So where do I put that?
So where do I put that?