WordPress.org

Ready to get started?Download WordPress

Forums

Put comments in your comments box (1 post)

  1. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Put text in your comments box that disappears as soon as the viewer clicks in the box. Possibly useful :)

    Default Classic 'comments.php' line 62
    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

    Although I have no idea of the vintage of my comments file, that line above now looks like this:
    <p>
    <textarea onFocus="this.value=''; this.onfocus=null;" return false; name="comment" id="comment" cols="60" rows="12" tabindex="4">

    ++++++++I have some text here++++++

    </textarea>
    </p>

    Just something to play with really :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.