Posts by Luiz Fernado • 1 point
1 post
-
0
votes3
answers3043
viewsA: Assign $.ajax received value to variable
or you can use a callbak: var myvar = null; function buildTableNI(callback){ $('#tb_ni').empty(); $.ajax({ type:'GET', crossDomain:true,…