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

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

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -