A: 

Try op[j].setAttribute("selected", "selected");.

airmanx86