| |||
Javacript con ASP <SCRIPT type=text/javascript> function cluster(value,displayName,channel,ref) { this.value = value this.displayName = displayName this.channel = channel this.ref = ref } var clusterArray = new Array(); <% AQUI ESTA EL ERROR C=0 While (NOT rsespecialidad.EOF) %> clusterArray[<%Response.write c %>] = new cluster("<%=rsespecialidad("id_especi alidad")%>","<%=(rsespecialid ad.Fields.Item("nombre_especialidad").Va lue)%>","<%=(rsespecialidad.Fields .Item("id_categorias").Value)%>" ,"especialidad=<%=rsespecialidad("id_ especialidad")%>"); <% rsespecialidad.MoveNext() c=c+1 Wend If (rsespecialidad.CursorType > 0) Then rsespecialidad.MoveFirst Else rsespecialidad.Requery End If %> function changeDropdown(channelName) { document.forms[0].especialidad.length=0; var optionIndex = 0; .... . . .. etcetera |
| |||
Re: Javacript con ASP ![]() <SCRIPT type=text/javascript> function cluster(value,displayName,channel,ref) { this.value = value this.displayName = displayName this.channel = channel this.ref = ref } var clusterArray = new Array(); <% AQUI ESTA EL ERROR C=0 While (NOT rsespecialidad.EOF) %> clusterArray[<%Response.write c %>] = ..... |