keiby Posted August 13, 2004 Report Posted August 13, 2004 Prog listee man neviens neatbildeejaa. varbuut, te kaac varees paliidzeet. koda gabals ir gan no asp, bet taa kaa nevareeju atrast nevienu asp forumu, taapeec iemetu sheit. Ir viena lieta ko nemaaku atrisinaat. Ir shaads Java kods ieksh asp : <% out= "<script>" out=out&" function PassBack(v1,v2,v3,v4,v5) {" out=out&" if (window.opener==null) { " out=out&" window.close(); } " out=out&" else { " out=out&" window.opener.document.forms['veid']."&request("namefield")&".value = v1; " out=out&" window.opener.document.forms['veid']."&request("surnamefield")&".valu e = v2; " out=out&" window.opener.document.forms['veid']."&request("divfield")&".value = v3; " out=out&" window.opener.document.forms['veid']."&request("deptfield")&".value = v4; " out=out&" window.opener.document.forms['veid']."&request("center")&".value = v5; " out=out&" window.opener.document.forms['veid']."&request("namefield")&".focus() ; " out=out&" close();" out=out&" } } </SCRIPT>" response.write out %> respektiivi, vinjsh nodod samekleetaas veertiibas izsaucoshai lapai. ja izsaucoshaa lapa atrodas uz taa pasha servera, tad parametrus taa nodod pareizi. savukaart, ja izsaucamaa lapa atrodas uz cita servera, tad shii f-cija nestraadaa.
bubu Posted August 13, 2004 Report Posted August 13, 2004 (edited) keiby, tu zini, ka šī lapa ir par php, nevis ASP! ;) Ja vajag asp, ej uz coders.lv forumiem! Un tev tas nav java kods! Tev ir ASP kods, kas izdrukā JavaScript kodu! Edited August 13, 2004 by bubu
keiby Posted August 13, 2004 Author Report Posted August 13, 2004 keiby, tu zini, ka šī lapa ir par php, nevis ASP! ;)Ja vajag asp, ej uz coders.lv forumiem! Un tev tas nav java kods! Tev ir ASP kods, kas izdrukā JavaScript kodu! thnx. nezinaaju par citu programmeeshanu forumiem. es jau eju, eju
Recommended Posts