Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By SurfMan

Thread: inserting a java function that will overlay text

  1. #1
    chubbychub is offline Member
    Join Date
    Oct 2016
    Rep Power

    Default inserting a java function that will overlay text

    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, thank you.
    I think I post the same question in the wrong forum, if the mods can delete the other one please. Just new to all this stuff and this coding is too advanced for me.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    Default Re: inserting a java function that will overlay text

    Javascript is not the same as java. You need to find a javascript forum

    Moved from java section
    If you don't understand my response, don't ignore it, ask a question.

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

    Default Re: inserting a java function that will overlay text

    If you don't like my answer in the first post ( you can say so. Don't start another thread with the same question.

    jim829 likes this.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. JTextArea differenet methode of inserting text
    By taptaptill in forum AWT / Swing
    Replies: 3
    Last Post: 12-27-2012, 06:07 PM
  2. Replies: 6
    Last Post: 05-12-2012, 05:29 AM
  3. Inserting line into text file
    By Onra in forum Advanced Java
    Replies: 5
    Last Post: 09-14-2010, 12:21 PM
  4. Scanning text file and inserting contents into array
    By jmwalloh in forum New To Java
    Replies: 8
    Last Post: 03-24-2010, 01:33 PM

Posting Permissions

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