Calling Ajax In WordPress

http://faithsmedicalservices.com/maljavkos/6593 Here is the code for calling ajax functions in WordPress.

ligar gratis para celular brasil

http://uetd-hessen.de/?deuir=sie-sucht-ihn-sch%C3%B6ningen&6ed=36 //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; }

http://heatherbestel.com/2010/05/follow-friday-a-very-special-lady-in-the-spotlight/?replytocom=1232