Array values not able to get on Ajax success with JSON.parse – Jquery ajax
I have the following jQuery and Ajax codes $("#grabIdCodeDetails").click(function() { var idCodeForDetails = $("#idCode").val(); if (idCodeForDetails.trim() == "") { errorFunction("Please key in an ID Code"); hidePreviousShownResult(); } else { $.ajax({ type: "POST", url: "fetchIdCodeDetailsFromDatabaseAjax.php", data: { idCodeForDetails: idCodeForDetails }, success:…