I have been using the following to put a default value in a textfield
<textarea name="message" id="message" cols="30" rows="5" value="Comment"
class="form_text text-input shadow" title="Comment"
onblur="if (this.value == '') {this.value = 'Comment';}"
onfocus="if (this.value == 'Comment') {this.value = '';}">
</textarea>
and it partially works. The field doesn’t show a default value initially but if you click inside it and then out, without typing anything, it displays “Comment”.
Any idea how I can modify this so that “Comment” appears when form loads.
Textarea default text must be enclosed in tags