• Hello,
    I am trying to empty my search form once it has been clicked.

    problem is, general-template.php doesn’t like the: onclick=”this.value=”” code.

    Thus the following code:
    <input type=”text” value=”search weblog” name=”s” id=”s” onclick=”this.value=”;”/>

    Generates the following error:
    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /wp-includes/general-template.php on line 163

    Any chance to fix this?
    Thanks

  • The topic ‘search form onclick this value’ is closed to new replies.