Is it possible to work with a response from AJAX request in PHP? I am not really a JS dev so i am polling my hair out with this one.
I have sort of hacked this toget
use
dataType: 'json',
instead
dataType: 'html',
and then use each to fetch the record from response in success function