If you use firefox and firebug, you can actually see in console that JavaScript execute the php function, and receive a response from server. ;)
If you want to show on your page your own php function response you must said to your JavaScript what to do with that response :) |