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

antoniotorres’s picture

maozet’s picture

drupal_add_js('jQuery(document).ready( function () { $('textarea#mytextarea').click( function() { this.val(''); } })', 'inline');

John Yates’s picture

So where do I put that?