I have a PHP function on my site which takes a couple of seconds to complete. This holds the whole page up which I don't want.
Would it be possible with jquery to call this PHP function after the page has loaded and display the results in a div? Also to display an ajax loader image until the PHP function has completed?
I've been looking at jQuery.post but can't seem to get it to work.
Would someone be able to help?
Thank you
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…