Organizational Research By

Surprising Reserch Topic

run php function inside jquery click using -'php,javascript,jquery'


run php function inside jquery click  using -'php,javascript,jquery'

How do i run a PHP function inside jQuery click event. I have the following which is not correct. when the user clicks on a button, i want a new directly created.

$('button').click(function(){
  <?php mkdir('/test1/test2', 0777, true); ?>
  return false;
})

    

asked Sep 7, 2015 by rajesh
0 votes
5 views



Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

...