scusa questo e' quello che 'fa' il file ASP, come output non ti ritorna nulla , prova ad aggiungere la parte in rosso
codice:
<%
DVisita = Now()
Player=request.Form("Giocatore")
StrConnessione = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("/Pallacanestro poggio rusco/mdb-database") & "\db.mdb"
set Conn = Server.Createobject("ADODB.Connection")
Conn.Open StrConnessione
SQL = "insert into tblGiocatoreC1DaVisionare (Data,Giocatore)"
SQL = SQL & " values ('" & DVisita & "','" & Player & "')"
response.write SQL
Conn.execute SQL
Response.write("esito=OK")
Conn.Close
set Conn=nothing
%>
codice:
Player=Giocatore[numero];
dati_send = new LoadVars();
dati_send.Player = Player;
dati_send.sendAndLoad("write_giocatoreC1DaVisionare.asp", dati_send, "POST");
dati_send.onLoad = function(success) {
if (success) {
//tua azione
trace("scritto")
trace(dati_send.Player);
//out = dati_send.out;
//cosi' recupera l'ok da asp
_root.esito.text = dati_send["esito"];
} else {
trace("ACC");
}
};