0
I wanted to know if you can make a loop inside the other using the function each
without duplicating the values
Example
var cor = ["branco", "preto"];
var exa = ["#FFF" ,"#000"];
$.each(cor, function(index, values){
$.each(exa, function(index1, values1){
console.log(values + values1);
});
});
every time I run this example the result comes out like this:
branco#FFF
branco#000
preto#FFF
preto#000
Thanks, it worked perfectly!
– William