(2017-08-19, 18:25:32)Bigin Wrote: The file is called "functions.php" not "function.php" and it automatically included by GS every time a page is loaded on your site.
It may be that you are trying to mix PHP and Javascript here, it will not work...
Sorry function.php was a typo.
I am able to pass a value using the convoluted example I posted,
I'm just trying to figure out how to submit a normal AJAX request.