I have been having a hard time with what must be an incredibly normal task. I upload and save images to my web server and save the path to the file in MySQL data base (this
You can't do it via ajax.
You could do something like this:
Then use JavaScript to change the query string.