Jump to content
Larry Ullman's Book Forums

Waiting To Continue Javascript Until The Php Has Completed

Recommended Posts

Per instructions and examples in the book, I am using javascript to initiate use of mysql within a php file to populate the data in a grid within my original javascript file. Everything works fine! However, sometimes, it takes a few seconds for the php file to complete running. I am finding that I need to disable the grid until the php file has completed.


I know how to disable the grid using jquery $.blockUI(); and re-enable the grid using $.unblockUI(); using javascript commands in my javascript file. But I cannot figure out how to delay the $.unblockUI(); until the php file has completed.


How can I do that?  Thank you.

Link to comment
Share on other sites


  • Create New...