0
{"status":1,"return":364}

I'm facing problem to getting status and return value in jquery. how I get the single value from this array.

Baljinder
  • 43
  • 1
  • 7

2 Answers2

1

It is not an array but its an object.

If I am right, you want to get the value of status object. Please see the screenshot attached.

enter image description here

Johnson Samuel
  • 2,046
  • 2
  • 18
  • 29
0

finally got the answer:

  var status = data["status"];//prints 1
Baljinder
  • 43
  • 1
  • 7