I have the following code:
console.log(ArmazenaIds);
console.log(ArmazenaEmails);
contaQuantidadeDeEmails = ArmazenaEmails.length;
//listando emails selecionados na div .top
for( c=0; c<contaQuantidadeDeEmails; c++) {
$('ul').append('<li>'+ArmazenaEmails[c]+'</li>');
// COLOCANDO CADA EMAIL DENTRO DO VALUE PRA ENVIAR PELO FORM
//USANDO AJAX
$('#novo').append("<input type='hidden' name='emailzinhos[]' value='aff' /> ");
}
How do I put the ArmazenaEmails[c]
vector inside value='aff'
, I do not know how to do this, I tried with + and it's giving me a syntax error, it's a simple question I just do not know the answer.