si... puede ser como tu dices... ahora, yo puedo hacer un response.write seguido de las etiquetas javascript???
porque lo que yo hago por ejemplo es hacer esto:
Código:
FOR Each ObjSegment in objXML.selectNodes("cmd_storeproc/output/rootxml/spxml/row")
Contenido = Contenido & "<tr>"
if p <> ObjSegment.selectSingleNode("@indice").text then
Contenido = Contenido & "<td width=50% class=reqdatos3><input type=hidden name=indice value="&ObjSegment.selectSingleNode("@indice").text&">" & ObjSegment.selectSingleNode("@indice").text & "</a></td>"
else
Contenido = Contenido & "<td width=50% class=reqdatos3 align=center>" & "</td>"
end if
Contenido = Contenido & "<td width=20% class=reqdatos3 align=left><input type=hidden name=nombrecampo value="&ObjSegment.selectSingleNode("@campo").text&">" & ObjSegment.selectSingleNode("@campo").text & "</td>"
'if duplicados <> ObjSegment.selectSingleNode("@dup").text then
Contenido = Contenido & "<td width=10% class=reqdatos3 align=left><input type=hidden name=duplicados value="&ObjSegment.selectSingleNode("@dup").text&">" & ObjSegment.selectSingleNode("@dup").text & "</td>"
'else
'Contenido = Contenido & "<td width=10% class=reqdatos3 align=center>" & "</td>"
' end if
Contenido = Contenido & "</tr>"
p = ObjSegment.selectSingleNode("@indice").text
duplicados = ObjSegment.selectSingleNode("@dup").text
NEXT
y luego en el body....
Código:
<%response.write contenido%>
se podrá hacer lo mismo pero en vez de html con el dhtml o javascript???
gracias!