function load3(choosenk){
var url2,j,set;
set = document.Section.D3.selectedIndex;
norep = new Array();
norep[0]=1;j=2;
norep[1]=document.Section.SubSec[document.Section.SubSec.selectedIndex].value;
norepi = choosenk.split(" ");
for (i=0;i<norepi.length;i++){
if(norepi[i]!=" "){
norep[j]=norepi[i];j++;}
}
url2= 'remotek1.php?ARGS='+norep; //no remote ta o SQL que preenche o select
document.Section.D3.options.length = 0;
addItem(document.Section.D3,"Wait...loading","",false,document.Section.D3.length) //funcao ADDITEM
document.Section.D3.focus()
myIframe2.location = url2;
document.Section.D3.selectedindex = set; //AQUI deveria selecionar de novo o campo antes selecionado
}
Sao dois selects que se alteram mutuamente. Eles chamam 2funcoes load..sao as duas praticamente iguais. Eu pretendia que depois de ser feito o update aos campos do selct voltasse a ser selecionado o mesmo campo...mas....
