I have run your message through several Portuguese to English translators on
the Internet, and have a bit of an idea of what you are asking for.
However, you do not appear to be supplying nearly enough information. If
you already have JavaScript code that you want to change, please show it.
Please also show the HTML that has the selections for the students, plus any
transformation from your array to those items on the screen that the user
will select.
You also haven't said what you want the JavaScript to do once the selection
is made. Your PHP is already acting on the selection, so it's not clear
what you would need to do with JavaScript.
You will need to describe accurately what you want to do - and this
explanation will need to be in English for this group, unfortunately.
Regards, Dave S
----- Original Message -----
From: < nickmarinho%40yahoo.com.br">nickmarinho
yahoo.com.br>
To: "Javascript" < javascript_official%40yahoogroups.com">javascript_official
yahoogroups.com>
Sent: Sunday, March 02, 2008 5:33 PM
Subject: [JavaScript] Dúvida cruel com arrays...
Bom é o seguinte...
Eu tenho uma listagem de alunos para cadastro de chamadas do mês:
aluno[1]
Presente[1]
MeioPeriodo[1]
Sabado[1]
aluno[2]
Presente[2]
MeioPeriodo[2]
Sabado[2]
aluno[3]
Presente[3]
MeioPeriodo[3]
Sabado[3]
...
Eu precisaria de uma função que acionando o botao selecionasse por
exemplo todos os Presente ou MeioPeriodo ou Sabado de todos os alunos,
conforme escolha de acordo com a lista de chamadas em mãos.
No submit dessa página, feita em php vou pegar aluno por aluno e ver
qual dos 3 foi selecionado, e isso já tenho pronto.
Só preciso mesmo dessa função em javascript.
Alguém pode me ajudar ?
*
Luciano Marinho*
nickmarinho%40gmail.com">nickmarinho
gmail.com <mailto: nickmarinho%40gmail.com">nickmarinho
gmail.com>
www.lucianomarinho.com.br <http://www.lucianomarinho.com.br/>
*Analista Desenvolvedor Programador PHP/C++*
Visit http://aiaiai.com for more groups to join
Yahoo! Groups Links
.