Gracias por el dato Danielfuzz, aqui esta mi html:
Código HTML:
Ver original<form name="listas" method="post" action=""> <table id="tabla" border="3px"> <select name="subregion" onchange="def_subr()"> <%
//organizamos la consulta
String[][] subregiones;
//la ejecutamos
guardar bd=new guardar();
subregiones=bd.Consultar_modificado("SELECT subregion.idSubregion, subregion.nombre FROM subregion", 2);
//relleno la lista
for(int i=0; i < subregiones.length;i++){
%>
<option value="<%=subregiones[i][0]%>">
<%=subregiones[i][1]%></option> <%
}
%>
el select de nombre subregion es el select del cual depende el select region, el select region es el que intento limpiar cuando en el select subregion se elige el index 0.