I currently have a jQuery function that I need to know if there is any GET
data present. I do not need the data from the querystring, just whether there is any or not to run one of two functions.
Equivalent PHP:
if (isset($_GET['datastring'])) {
// Run this code
} else {
// Else run this code
}