Can I call a PHP function in a JavaScript click handler?

It is not possible to call a php function from a javascript onclick, because php is a serverside language and javascript a client side.

I don’t need a function at all, because I can get the value, entered in the form, by POST.

Browse More Popular Posts

Leave a Comment