an
groups-icon

Set form value in jQuery

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Hemanta Chakladar
    4 points
    Beginner

    I want to set the form value of a custom field in add-listing page.

    Code is attached.

    I have tried this, on wp_footer, not working,

    <script>
    jQuery("#reg_field_dis_am input").val('Value here');
    </script>

    and

    <script>
    jQuery("#reg_field_dis_am input[name=custom[dis_am]]").val('Value here');
    </script>
    Attachments:
    You must be logged in to view attached files.
    March 22, 2015 at 8:31 am
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 22, 2015 at 10:00 am
  • Hemanta Chakladar
    4 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 22, 2015 at 10:08 am
  • Hemanta Chakladar
    4 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 22, 2015 at 10:12 am
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 22, 2015 at 10:27 am
  • Hemanta Chakladar
    4 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 22, 2015 at 10:38 am
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 22, 2015 at 10:43 am

398

Views

6

Replies