I have a script which uses ajaxRequest.open to call a php script. I'm wondering how I could send a variable to the php file. More specifically, I've got a form text field I'd like to be able to send to the php file.
The ajaxRequest is working fine, I just need to know how I'd send a variable and how php could read it.
Here is the (very abbreviated) script which is calling my php file...
}
ajaxRequest.open("GET", "../../ajaxphp.php", true);
ajaxRequest.send(null);
}