I have a big form, with many list boxes that are feeded by an jQuery plugin, jCombo.
$("select#arhpcnDetinator").jCombo("services/detinatori.php", {
initial_text: "Selecteaza valoarea",
selected_value: $("input#arhpcndetinatorID").val()
});
The problem: because are many objects in form, feeded by jQuery&jSON, have some latency on loading. DOM is loading instantly, but listbox are populated much slowly (3-4sec). So I need show an autoclosing loading div (“Please wait…). I tryed many variants but are loaded after listboxes are populated. Also I find a simple solution using prototype, but are incompatible with jQuery :(.
If someone can figure a solution, I’ll appreciate that.
Thank you in advance.
Easy 🙂
I created jsFiddle for you