dovresti mettere il tuo codice asp lì prestando attenzione alle " cioè...
document.getElementById("NOME_DIV_RISULTATO").inne rHTML="codice asp che stampa tabella con tutti i risultati";
così, quando la richiesta è ok esegue il codice asp e visualizza quello che asp restituisce