Ciao a tutti, ho questo script:
codice:
<%
'Dichiaro la variabile
Dim objXMLHttp
'Instanzio l'oggetto XMLHttp
Set objXMLHttp = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
response.Buffer=true
'Costruisco e invio la richiesta
objXMLHttp.Open "GET", "http://www.nomesito.ext/pagina.html", false
objXMLHttp.Send
'Stampo la risposta
dim stringa
stringa=objXMLHttp.responseText
'Faccio pulizia
Set objXMLHttp = Nothing
set re=server.CreateObject("VBScript.RegExp")
re.Pattern="inzio ([^\v]*?) fine"
set ris = re.Execute(stringa)
if ris.count>0 then
Response.Write ris(0).SubMatches(0)
end if
%>
Vorrei che il risultato di questo script asp fosse passato a JAVASCRIPT e che vanga stampato a video tramite la funzione:
è possibile?? come posso fare??