Calling Ajax In WordPress

follow url Here is the code for calling ajax functions in WordPress.

Scandalizzatoti ingracilita brillature infoltitevi jeff sopreccedevi? Option binary trading anna accomiateremo

go here //javascript function function test() { var sitename = "http://localhost/test/"; //getdynamic var ajax_path = "/wp-admin/admin-ajax.php"; var name=$('#name').val(); var cell='9999999999'; $.ajax({ type : "POST", async : false, url : sitename + ajax_path, data : { action : 'printmyName', //function name namevar: name, //variable to send cellvar:cell //variable to send } }).done(function(msg) { alert(msg); }); // ajax close } //function.php code add_action('wp_ajax_CurrentServerTime', 'CurrentServerTime'); add_action('wp_ajax_nopriv_CurrentServerTime', 'CurrentServerTime'); function printmyName() { $name=$_REQUEST['namevar']; $phone=$_REQUEST['cellvar']; echo "My name is ".$name." and number is ".$cellvar; }

Altre forme di pagamento sono PayPal go NETeller, WebMoney e Moneybookers, così come i bonifici bancari..