1/** 2 * Autofill and hide the whole captcha stuff in the simple JS mode 3 */ 4jQuery(function(){ 5 var code = jQuery('#plugin__captcha_code')[0]; 6 if(!code) return; 7 8 var box = jQuery('#plugin__captcha')[0]; 9 box.value=code.innerHTML; 10 11 jQuery('plugin__captcha_wrapper')[0].style.display = 'none'; 12}); 13