javascript - How can i execute the events in sequence in jquery AJAX function -


i have function

$.ajax({     type: 'get',     url: myurl,     success: function (data) {         $('#dialog-confirm').html(data);         $('#dialog-confirm').dialog('open');     } }); 

i want second function in success executes after first 1 complete. how can that

it does, because .html synchronous.

if it's not doing need more information.


Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

c++ - Is it possible to compile a VST on linux? -

php - Pass object by reference or value -