• My search form wont work and I really wanted to add that effect where you have like “search” inside the search field, but when you click in the search field to add your search criteria it then dissapears.

    Can anyone help, please? ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • <form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
    <input id="s" type="text" onblur="if(this.value == '') {this.value = 'Search this Blog';}" onfocus="if(this.value == 'Search this Blog') {this.value = '';}" value="Search this Blog" name="s"/>
    <input type="submit" name="submit" value="Go" id="searchsubmit"/>
    </form>

    This is the code for that. I believe all the ids are default.

    Stéphane

    (@stephane09)

    How can we achive the same thing in version 2.7.1 ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search form’ is closed to new replies.