Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6704847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:20:09+00:00 2026-05-26T07:20:09+00:00

I am no jquery or javascript expert, and I am using a multiple select

  • 0

I am no jquery or javascript expert, and I am using a multiple select plugin (fcbkselect). Normally I am used to iterating through the post array, but this plugin returns the selected items in a json object such as:

{"rand_T6hOMeRa7tKSGTEp2MCWqtRinJyKAEgq":"foobar@gmail.com","rand_DCNxA7hu8LfWkL5T02TbxXN6qwahENtg":"barfoo@yahoo.com"}

I am totally clueless as to how I should extract foobar@gmail.com , and barfoo@yahoo.com , etc. reliably every time since he is using random keys. Any help appreciated.

Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:20:10+00:00Added an answer on May 26, 2026 at 7:20 am

    Just iterate over the object in JavaScript:

    var json_str = '{"rand_T6hOMeRa7tKSGTEp2MCWqtRinJyKAEgq":"foobar@gmail.com","r' +
                   'and_DCNxA7hu8LfWkL5T02TbxXN6qwahENtg":"barfoo@yahoo.com"}';
    var obj = JSON.parse(json_str);
    for (var k in obj) {
      console.log('Key: ' + k + ', mail: ' + obj[k]);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get send json from my javascript (using jquery post) to
using Jquery/javascript Is it: $(document).focus()?
I'm looking for a way using jquery/javascript to get a class name when I
What's the foreach equivalent in jQuery (JavaScript) to parse through a JSON object and
I am currently using the DevBridge jQuery Autocomplete plugin - it works fine as
I'm using the wonderfully lightweight jQuery minitabs plugin from: http://code.google.com/p/minitabs/ which is a lovely
I was using jQuery UI Dialog and jQuery to select a radio button. I
Preface: First time really using JavaScript + jQuery, so my problem likely stems from
I'm looking for some sort of jquery plugin (or even plain javascript) that can
I'm using jQuery 1.3.2: <script src=../../Scripts/jquery-1.3.2.js type=text/javascript></script> I've got the following html: <div id=container-div>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.