how to call php function from javascript function 1. create Folder on WWW Or htdocs (on your computer) 2. create index.php page on your folder and paste this code index.php <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script> function addsearchproduct(x){ // this is JavaScript function $.ajax({ type: 'POST', url: "function.php?f=phpFunction&p="+x, // call php function , phpFunction=function Name , x= parameter data: {}, success: function(data1){ alert(data1); } }); } </script> <input type="button" value="call Php Function" onclick="...
I click link given by you it describe how write wordpress plugin. it is very nice thank you
ReplyDeleteGreat wordpress development plugin development tutorials. Nice guidelines.
ReplyDeleteWhat we've noticed is cozily cooperative behaviour by strong Brooklyn -based
ReplyDeletedesigner agencies and Forest City Ratner.
My web blog :: wordpress plugin developer tutorial
Thank to everyone....
ReplyDeleteThank to everyone....
ReplyDeleteSaved as a favorite, I really like your blog!
ReplyDeleteAt this moment I am going to do my breakfast, later
ReplyDeletethan having my breakfast coming again to read further
news.