Try to print log in your browser console, alert instead –
alert('ajax completed. Response: ' + data); // Not
console.log(data); // Do
Then check your data array in console.
2
solved particular element from an array in JavaScript? [closed]
Try to print log in your browser console, alert instead –
alert('ajax completed. Response: ' + data); // Not
console.log(data); // Do
Then check your data array in console.
2
solved particular element from an array in JavaScript? [closed]