in code wait until creating request (201 http status). use alert method i'd not use it. can replace alert method here?
i'm looking "do nothing" method.
if (createrequest.status == 201) { ...code..... } else { alert('wait'); }
you use more fancy suff such boostrap's alert or bootstrap's popover specially designed handle these cases.
Comments
Post a Comment