jQuery(document).ready(function(){ jQuery("#getit").on('click',function(){ jQuery("#wpkqcg_qrcode_outputimg_955df7cc761a89462_content").val(jQuery(this).val()); }) });