How to call a PHP function in JavaScript? How to call a PHP function in JavaScript? php php