Hello all,
I get a response form my server via AJAX with an array that is json_encode (php funciton). However, I am having difficulty parsing it.
I can do this:
alert(response);
But it just gives me a bunch of text like so:
[{"user_id":"Dev_V2_MEH_0910_M03_v03c_NEW_CODE_03"......"grouper_opae_algorithm":"nap_v42lp"}]
Please note, I cut out a lot. I have tried this:
alert(response[0].user_id);
That just gives me undefined.
What am I doing wrong?