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
Post a Comment