Click here to Skip to main content
15,882,388 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Getting User Name Pin
Wombaticus17-Jan-16 13:05
Wombaticus17-Jan-16 13:05 
GeneralRe: Getting User Name Pin
Wombaticus17-Jan-16 13:10
Wombaticus17-Jan-16 13:10 
GeneralRe: Getting User Name Pin
Member 1226951817-Jan-16 13:13
Member 1226951817-Jan-16 13:13 
SuggestionRe: Getting User Name Pin
Richard Deeming18-Jan-16 1:39
mveRichard Deeming18-Jan-16 1:39 
QuestionHow to change MapTypeControl info text Change map style to our own text in google.maps.MapTypeControlStyle.DROPDOWN_MENU Pin
ven75313-Jan-16 6:36
ven75313-Jan-16 6:36 
QuestionArray Question Pin
Mindlesscandi10-Jan-16 16:17
Mindlesscandi10-Jan-16 16:17 
AnswerRe: Array Question Pin
Richard MacCutchan10-Jan-16 21:03
mveRichard MacCutchan10-Jan-16 21:03 
AnswerRe: Array Question Pin
Nathan Minier11-Jan-16 2:13
professionalNathan Minier11-Jan-16 2:13 
Your layout isn't terribly meaningful for illustration. Basically they are indexed from outermost to innermost:
JavaScript
var array = [
   ['thing1','stuff1'],
   ['thing2','stuff2'],
   ['thing3','stuff3'],
]

Will result in:
JavaScript
array[0] === ['thing1','stuff1'];
array[0][0] == 'thing1';
array[0][1] == 'stuff1';

array [2][1] == 'stuff3';

And since strings are arrays:
JavaScript
array[0][0][0] === 't';
array[0][0][1] === 'h';
array[0][0][2] === 'i';
array[0][0][3] === 'n';
array[0][0][4] === 'g';
array[0][0][5] === '1';

And there's your 10 second multi-dimensional array tutorial.
QuestionStatic Clock Pin
Mindlesscandi10-Jan-16 16:00
Mindlesscandi10-Jan-16 16:00 
AnswerRe: Static Clock Pin
Richard MacCutchan10-Jan-16 21:02
mveRichard MacCutchan10-Jan-16 21:02 
QuestionDisplay web page on mobile as overview with zoom-in on detail Pin
Member 122502747-Jan-16 5:49
Member 122502747-Jan-16 5:49 
AnswerRe: Display web page on mobile as overview with zoom-in on detail Pin
Nathan Minier8-Jan-16 2:16
professionalNathan Minier8-Jan-16 2:16 
QuestionHow to load all the images from a folder on local with only javascript? Pin
phinq19102-Jan-16 7:04
professionalphinq19102-Jan-16 7:04 
QuestionRe: How to load all the images from a folder on local with only javascript? Pin
ZurdoDev8-Jan-16 2:55
professionalZurdoDev8-Jan-16 2:55 
QuestionHow to create my Model/Objet/Data layer in my MVC pattern in AngularJS Pin
glassShot10030-Dec-15 18:31
glassShot10030-Dec-15 18:31 
AnswerRe: How to create my Model/Objet/Data layer in my MVC pattern in AngularJS Pin
Nathan Minier5-Jan-16 6:47
professionalNathan Minier5-Jan-16 6:47 
QuestionPrompt Box Pin
Mindlesscandi23-Dec-15 22:20
Mindlesscandi23-Dec-15 22:20 
AnswerRe: Prompt Box Pin
Anurag Gandhi27-Dec-15 7:49
professionalAnurag Gandhi27-Dec-15 7:49 
GeneralRe: Prompt Box Pin
Mindlesscandi30-Dec-15 23:28
Mindlesscandi30-Dec-15 23:28 
AnswerRe: Prompt Box Pin
Beginner Luck28-Dec-15 14:43
professionalBeginner Luck28-Dec-15 14:43 
GeneralRe: Prompt Box Pin
Mindlesscandi30-Dec-15 23:27
Mindlesscandi30-Dec-15 23:27 
AnswerRe: Prompt Box Pin
Abhishek Vats12-Jan-16 9:30
professionalAbhishek Vats12-Jan-16 9:30 
QuestionHow to open popup in new window in IE11 using javascript Pin
ven75323-Dec-15 17:29
ven75323-Dec-15 17:29 
AnswerRe: How to open popup in new window in IE11 using javascript Pin
Anurag Gandhi27-Dec-15 1:19
professionalAnurag Gandhi27-Dec-15 1:19 
SuggestionRe: How to open popup in new window in IE11 using javascript Pin
ZurdoDev4-Jan-16 2:37
professionalZurdoDev4-Jan-16 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.