function dynAddOption(list, elementToBeAdded){
if( list.length > 0) {
for(var index = 0; index < list.length; index ++){
elementToBeAdded.options[index + 1] = new Option(list[index].description, list[index].id);
}
}
}
How can I give each of the <option>
s a tooltip?