jQuery.post() issue
-
I’m developing part of our website where upon the click of a link to a download the database is update to register the download.
The link calls a javascript function which is initialising (and receiving the relevant passed parameters )fine. This javascript function then passes that parameter to a php file for database processing.
bellow is my jquery line
jQuery.post("../../alz-includes/alz-download_count.php", {name: pass});
(“pass” is a parameter that I’ve verified to be working a single line before the above)
I’m pretty sure that this isn’t firing.
jQuery is on our server, initialised in the header by<?php wp_enqueue_script("jquery");?>
Are there any obvious problems with that? What are the issues that might be causing this? Can anyone suggest anything?
- The topic ‘jQuery.post() issue’ is closed to new replies.