Send a javascript variable to a php page through AJAX
Hi,
I'm very new to Javascript and AJAX so I'm using a script that I found, and I need it to send a PHP variable from the global variable (in the address bar where it says &post=94 for example) along with the other data that the script sends to a php script.
I've tried to add what I think should work but it clearly doesn't and I have no clue as how the variable would be used once it fetches the $_GET['postID'] (if that is even allowed?).