Сигнальный вход с функцией накопления8 входов как счетчик импульсов макс до 10 Герцмодуль 16 дискретных входов Name *Username *Email *Password * j
Query(document). ready(function($) { "
use strict"; var button_id = '#whols_reg_submit', nonce = '
608599a37f', loading_message = '
Please Wait.'; $( button_id ). on('
click', function( event ){ event. prevent
Default(); $( '#whols_user_reg_message' ). html( '+ loading_message +' ). fade
In(); $. ajax({ type: '
POST', data
Type: '
json', url: woocommerce_params. ajax_url, data: { action: "
whols_ajax_user_register", nonce: nonce, fields: $('. whols_registration_form form'). find(': input'). serializeJSON({checkbox
Unchecked
Value: "
0"}), }, before
Send: function(){ }, success: function( response ){ if ( response.registerauth == true ){ var redirect_url = response. redirect_url; $('#whols_user_reg_message'). html('+ response.message +'). fade
In(); if( redirect_url. length ){ document.location.href = redirect_url; } }else{ $('#whols_user_reg_message'). html('+ response. message +'). fade
In(); } }, error: function( error
Thrown ) { console. log(error
Thrown); }, }); }); }); // document ready