i have this object:
"{"logEntries":[],"value":"-8","text":"Europe","enabled":true}"
how do i get the value of the “value” key in jQuery with minimum code?.
in this case “-8”.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You had double quotes inside double quotes, you can’t do that, you need to wrap it in single quotes.
Also, you don’t need the quotes here in the first place, just make an object, not a string, so you don’t to parse.