Uhhh... why were there like 30 of these submitted to the mailing list?
Your email address has now been banned. Please contact me off-list if
you wish to rectify the situation.
--John
On Tue, Mar 24, 2009 at 5:45 PM, InfiniteSkills Support Center
i...@infiniteskills.com wrote:
This message is to notify you that your ticket has been submitted.
Ticket ID: 1758-5724031711
Message:
--
Add the {async:false} option to your $.get. This tells JavaScript to
wait for the response before continuing with the rest of the script.
By default, AJAX is asynchronous.
On Mar 24, 4:13 am, aeg1s aeg1s1...@gmail.com wrote:
I have the following code:
$('#r_0_0').blur(function() {
var x = $('#r_0_0').val();
var y=#d_0;
$(y).empty();
$.get(apps/P5001/call/LineItems.lasso?LITM= + x + Line= +
'r_0_0' + TEST= + y,function(data2){
$(y).empty();
$(y).append(data2);
},html);
$('#addnew').click();
});
The last line #addnew is adding a new line to a html table, and the
other code is updating a div with information from a database call. It
is all processing correctly, except the addnew is running before the
database query.
How can I get the addnew to wait for the prior commands to finish?
--
To check the status of this ticket, visit:
http://www.infiniteskills.com/helpdesk/index.php?action=ticketid=MTc1OC01NzI0MDMxNzExide=anF1ZXJ5LWVuQGdvb2dsZWdyb3Vwcy5jb20=