Solved
javascript get selected index from select using IE9
Posted on 2013-06-24
Hi,
This javascript code was OK with previous version of IE and still is with
Fire Fox but unfortunately not with IE9
Could some one help myself, Please?????
var cost = (indexsite .options[listecost.selectedIndex].value);
It is about a HTML select to get the selected index:
var indexsite = document.getElementById('collabro');
var val = (indexsite .options[collabro.selectedIndex].value).split("#");
matricule=val[2].replace("(","");
matricule_RO=matricule.replace(")","");
nom_RO = val[0]+' '+val[1];
indexsite = document.getElementById('listecost');
var cost = (indexsite .options[listecost.selectedIndex].value);
Thanks a lot??????????????