Hi all,
my aim is to compare the first names with the title of an img-element and insert the last name when the first name matches the title of the img-element. But before programming it, I'd like to ask you a question.
Is there an easier way to create a new array list containing the first and the last name than I've chosen? It would be very inconvenient if I had about 100 new Arrays each containing a first and a last name.
var username = new Array();
username[0] = new Array();
username[0]["first name"] = "daniel";
username[0]["last name"] = "obrian";
username[1] = new Array();
username[1]["first name"] = "stuart";
username[1]["lastname"] = "oconner";
Thank you in advance.