nelsonm - 5:04 pm on Jun 19, 2012 (gmt 0)
This may seem stupid, but i'll ask anyway...
Right now, i'm opening a jquery form dialog that calls functions to get data from the server to populate the form dialog fields.
The problem is that you see the form dialog fields being populated when the dialog opens. I'd like to hide or not open the dialog until the form dialog fields are done being loaded.
Similar to the .load method, I want to call a function on who's successful completion opens the jquery form dialog. More percisely, the function includes two nested functions. I want the main function its two nested functions to finish successfully before opening the dialog.
Is there a way to do this?