Posts by Luis Carlos • 1 point
1 post
-
0
votes0
answers12
viewsQ: I need the recivedData variable that is declared at the beginning to store the value assigned to it in the function and show it outside the function
var recivedData; var obj, dbParam, xmlhttp; obj = { "table":"customers", "limit":100 }; dbParam = JSON.stringify(obj); xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if…
javascriptasked Luis Carlos 1