I want to make an AJAX call to a file on a server, from jQuery …
The problem is that this file is generated when I do a post from another pc / browser.
What I want is that the request still listening, until the file is generated, and do not return a 404 response…
any ideas?
Write a server-side script which will wait until the file exists, then return its contents. (or redirect to the file)