Results 1 to 2 of 2
  1. #1
    chubbychub is offline Member
    Join Date
    Oct 2016
    Rep Power

    Default label input for child theme us js

    I have a wordpress theme and someone wrote a script as a child theme:
    this is the view source code:
    Java Code:
    <label for="sf3_textsearch_textsearch">Text Search</label>
    <input id="sf3_textsearch_textsearch" value="" name="sf3_textsearch_textsearch" placeholder="searching something here" type="text">
    from the script below:
    Java Code:
    jQuery('document').ready(function () {
        jQuery('.wpl_search_fields.textsearch input').each(function(ev){
                jQuery(this).attr("placeholder", "searching something here ");
    I want to do the same thing but from this:
    Java Code:
    <input id="sf3_unit_price" class="wpl_search_widget_field_unit" name="sf3_unit_price" value="260" type="hidden">
    This Is my first post and don't have a clue on what or how java is, please help, thankyou.
    Last edited by chubbychub; 10-15-2016 at 05:31 AM.

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    The Netherlands
    Rep Power

    Default Re: label input for child theme us js

    You are looking at JavaScript code. Java is not the same as JavaScript.

    Besides that, you are not giving out enough information to start helping you. Prepare a better question and find a Wordpress forum to drop that in.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. create Theme in new XSSFWorkbook
    By Piotr in forum Apache POI
    Replies: 2
    Last Post: 08-03-2015, 10:40 AM
  2. Eclispe color theme problem
    By Aboogesnickle in forum Eclipse
    Replies: 3
    Last Post: 07-23-2014, 11:00 PM
  3. How to change SWT/JFace theme
    By sivakrishnain in forum SWT / JFace
    Replies: 0
    Last Post: 07-28-2010, 07:29 PM
  4. FreeMarker error when trying to use AJAX Theme
    By vips_jil in forum Web Frameworks
    Replies: 0
    Last Post: 02-24-2010, 10:42 AM
  5. theme while running
    By pgag45 in forum NetBeans
    Replies: 4
    Last Post: 04-20-2009, 05:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts