-1

should this work? Am i missing something?

var this_array = [

    [],

    [
        [],
        [
            [],
            [
                [],
                [
                    ['50.3']
                ],
                [
                    ['12.0']
                ]
            ]
        ]
    ],
    [
        [],
        [
            [],
            [
                [],
                [
                    ['85.3']
                ],
                [
                    ['31.1']
                ]
            ]
        ]
    ]
];

$(document).ready(function () {
    alert(this_array[1][1][1][1][0]);
}
2
  • 1
    Yes. This should work. You are not missing something. Keep coding. Commented Jan 20, 2011 at 0:51
  • Running your code through jsbeautifier.org before posting it and using Code formatting (there's a button for it above the editor) makes it more readable for others. Commented Jan 20, 2011 at 0:56

2 Answers 2

3

Works for me: http://jsfiddle.net/Ny8ze/

Are you getting any errors?

Sign up to request clarification or add additional context in comments.

Comments

1

Yes. It works for me:

'50.3'

Did you get an error?

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.