1

https://i.sstatic.net/RtzeT.png

I get these type of array in my jQuery variable. Now I want store each array values in differnt varaible. (Ex : I want to store Address field in one variable). How to do it? Any suggestion? Here I upload the image, I get that type of array in console.

 $.ajax({
                type : 'POST',
                url  : '<?php echo MY_SITE_URL ;?>'+'webapi.php',
                data: { task:'Properties.getSearch',SEARCHID1: SEARCHID1},
                success: function(response)
                {
                     var j= JSON.parse(response);
                     console.log(j);
                }, 

        });

1 Answer 1

2

You can create variable with get each data into your json.

var Address = j.Address;
var Status = j.status;
etc...
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.