Thread View: be.comp.programming
3 messages
3 total messages
Started by Coppieters-Driessen
Mon, 09 Dec 2002 18:29
javascript probleem
Author: Coppieters-Driessen
Date: Mon, 09 Dec 2002 18:29
Date: Mon, 09 Dec 2002 18:29
81 lines
3963 bytes
3963 bytes
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C29FB9.530A3820
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Wie weet?
Hoe kan ik in het onderstaand script aanpassen zodat de waarde die samen =
met de url verzonden wordt niet zichtbaar is in het adres venster van MS =
Explorer.
Normaal gebruik men het object "hidden".
Mijn vraag is hoe, is dit mogelijk met onderstaand script en wat moet ik =
aanpassen?
Als het niet mogelijk moet het dan gebeuren via post methode? en hoe =
moet dan de functie geschreven worden in javascript?
location.href=3D CompletionURL + '?' +
escape('game_title') + '=3D' + escape('prokick') + '&' +
escape('game_author') + '=3D' + escape('joya_copgames') + '&' +
escape('my_score') + '=3D' + escape(gl_var_msg1) + '&' +
escape('my_name') + '=3D' + escape(gl_var_namePrompt) + '&';
Bedankt
------=_NextPart_000_0008_01C29FB9.530A3820
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Wie weet?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Hoe kan ik in het onderstaand script =
aanpassen=20
zodat de waarde die samen met de url verzonden wordt niet =
zichtbaar is in=20
het adres venster van MS Explorer.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Normaal gebruik men het object=20
"hidden".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Mijn vraag is hoe, is dit mogelijk met =
onderstaand=20
script en wat moet ik aanpassen?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Als het niet mogelijk moet het dan =
gebeuren via=20
post methode? en hoe moet dan de functie geschreven worden in=20
javascript?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>
<P><FONT face=3DArial size=3D2>location.href=3D CompletionURL + '?' =
+</FONT></P>
<P><FONT face=3DArial size=3D2>escape('game_title') + '=3D' + =
escape('prokick') +=20
'&' +</FONT></P>
<P><FONT face=3DArial size=3D2>escape('game_author') + '=3D' + =
escape('joya_copgames')=20
+ '&' +</FONT></P>
<P><FONT face=3DArial size=3D2>escape('my_score') + '=3D' + =
escape(gl_var_msg1) +=20
'&' +</FONT></P>
<P><FONT face=3DArial size=3D2>escape('my_name') + '=3D' + =
escape(gl_var_namePrompt) +=20
'&';</FONT></P>
<P><FONT face=3DArial size=3D2></FONT> </P>
<P><FONT face=3DArial size=3D2>Bedankt</FONT></P></DIV></BODY></HTML>
------=_NextPart_000_0008_01C29FB9.530A3820--
Re: javascript probleem
Author: Franky Braem
Date: Tue, 10 Dec 2002 14:16
Date: Tue, 10 Dec 2002 14:16
5 lines
1206 bytes
1206 bytes
Via JavaScript gaat dat niet. Je kan dat wel door frames te gebruiken. Meer info lees je hier: http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_10725301.html Franky.
Re: javascript probleem
Author: Coppieters-Driessen
Date: Tue, 10 Dec 2002 16:49
Date: Tue, 10 Dec 2002 16:49
30 lines
2326 bytes
2326 bytes
Moet dan de informatie die ik samen met de url naar een pagina verstuurt en deze all๏ฟฝ๏ฟฝn opent in zijn frames? Ik kan ook via een form doen maar krijg de inhoud van value niet verstuurd als globale variabele. Hoe moet ik een gl_var_variabel versturen zodat de inhoud mee verstuurd wordt en niet de tekst "gl_var_variabel" Mijn bedoeling is om de score via de url van een spel dat geschreven in javascript te versturen naar een file.php en dit zonder dat de meegestuurde info te zien is in de adresbalk. Misschien zijn er nog andere methodes? <form name="frm" action=http://enzovoort method="post"><BR> <P> <input type="hidden" name="game_title" value="prokick"><BR> <input type="hidden" name="game_author" value="joya_copgames"><BR> <input type="hidden" name="my_score" value="13"><BR> <input type="hidden" name="my_name" value="gl_var_variabel"><BR> <BR> </form> "Franky Braem" <fa225992@skynet.be> wrote in message news:3df5f822$0$2945$ba620e4c@news.skynet.be... > Via JavaScript gaat dat niet. Je kan dat wel door frames te gebruiken. Meer > info lees je hier: > http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_10725301.html > > Franky. > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads