JavaScript Wait Until Event Is Completed -


how can execute function after html element gets value ?

i've got number input , getjson using value parameter, getjson loads initial value of number, resulting in null. how can avoid ?

seems if using ajax call desired number getting null. want make sync

if yes then, go ahead , check out

wait until jquery ajax requests done?

or else if using

xhttp.open("get", "ajax_info.txt", true);

use instead xhttp.open("get", "ajax_info.txt", false);

reference : http://www.w3schools.com/ajax/ajax_xmlhttprequest_send.asp


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -