• Resolved Mike Sneed

    (@msneed)


    Hi,

    The site I’m working on is here. I noticed that the input field next to the select wasn’t showing the value I wanted, Search All Jobs.. just blank. And I realized that placeholder is for updated browsers obviously. Do you know some code that would work for IE8 and 9. I tried this code below but when searching for specific jobs, no job results appeared.

    This is from the div.search_keywords from the job-filters.php template.

    <input type="text" name="search_keywords" id="search_keywords" value="Search all Jobs" onfocus="value=''" onblur="value='Search all Jobs'"/>

    Right now I’m back to the original which is this:

    <input type="text" name="search_keywords" id="search_keywords" placeholder="<?php _e( 'Search All Jobs', 'wp-job-manager' ); ?>" value="<?php echo esc_attr( $keywords ); ?>" />

    Thanks, heaps!
    M

    <input type=”text” name=”search_keywords” id=”search_keywords” value=”Search all Jobs” onfocus=”value=”” onblur=”value=’Search all Jobs'”/>

    https://www.ads-software.com/plugins/wp-job-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘job filters input value doesn't show in IE8 and 9’ is closed to new replies.