Togliendo il return funziona, ma ho ancora un problema. Forse però è ASP e non più javascript.
Il codice della pagina principale è:
mentre le 3 popup sono:codice:<% id=request.querystring("id") id2=request.querystring("id2") id3=request.querystring("id3") response.write("<input type=txt value="&session("id")&">") %> <a href="#" onclick="window.open('ale.asp', '_blank', 'height=400,width=600'); return false;"><input type=button value="..."></a> <% response.write("<input type=txt value="&session("id2")&">") %> <a href="#" onclick="window.open('ale2.asp', '_blank', 'height=400,width=600'); return false;"><input type=button value="..."></a> <% response.write("<input type=txt value="&session("id3")&">") %> <a href="#" onclick="window.open('ale3.asp', '_blank', 'height=400,width=600'); return false;"><input type=button value="..."></a>
con l'unica differenza nel link (.asp?id - .asp?id2 - .asp?id3).codice:<% sql2="select * from [dati] where [tipo]='1'" set rs2=con.execute(sql2) if rs2.eof then response.write("No dati") else do while not rs2.eof abc=rs2("id") response.write (""&abc&" ") rs2.movenext loop end if %>
Io vorrei che mantenesse i valori delle selezioni precedenti, mentre con questo codice mi tiene solo l'ultimo.

Rispondi quotando