I have a script that I wrote in PHP which scrapes data from a url.
Is it possible with jQuery to do an ajax call that, once a url is entered into an input field (There is a URL validation inside the script), it "Loads" until a successful url has been identified and the rest of the script can then run thus returning results once it is complete.
Below is an example of what I'm trying to describe:

What exactly should I look up to understand how to do this?