I have a button- when it is clicked, an alert shows up, prompting for an input, after the user puts in data, the data is sent to the server, processed, and a result comes out. This can last up to 30 seconds-1 min, because I have to handle quite a large amount of data, so I would need to show a "Loading, please wait" alert, while the server-side job is running, so the user won't think things are not working.
Can anyone offer any suggestions, please?
I am quite new to javascript and jquery. I have a feeling this has to be done with ajax, but I don't really know how.