Welcome aboard! We are happy you are here and wish you good net-raft!
$(".]").click(function () { 
var str = $("#value").val(); 
$.ajax({ url: '/page.php?a=' + str,
data: 'functionName=namephpfunction',
type: 'get',
success: function (data) { 
var obj = data;  // evaluating output of php function 
eval(obj);
}
});
}); 
The most helpful AJAX solutions
How to call php file using javascript ajax ?AJAX Click to see more ... 719 54