<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>on click

[ad_1]

Replies: 1

Good afternoon,

I’m trying to pass values ​​from two fields to two other fields, by clicking on a button I’ve been trying something like jQuery(getField(‘fieldname120|n’)).setVal(jQuery(‘[id=”fieldname170_”]’ ).val()); jQuery(getField(‘fieldname119|n’)).setVal(jQuery(‘[id=”fieldname171_”]’).val()); .

I’m putting this code on the button in ‘OnClick event’

But it’s not working can you help.
Grateful.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer