This is the Way.
HIValicious schreef op 23 April 2003 @ 10:54:
Graag in kale HTML geen java etc
Mag 't ook geen JavaScript zijn?
een tip:
1
| document.location = ''; |
[ Voor 39% gewijzigd door BtM909 op 23-04-2003 10:57 ]
Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.
Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.
This is the Way.
function submitForm();
{
document.formulier.submit(); // dan stuurt-ie de mail
document.location.href="nieuwepagina.html" // stuurt bezoeker door
}
Mja, ik zou persoonlijk een redirect header gebruiken.
Niels
hoe moet ik dit in me form zetten?sjroorda schreef op 23 april 2003 @ 11:00:
Zet dan als submitButton 'onClick="submitForm();"' en dan een JS-functie (ja, die moet je dan wel gebruiken...)
function submitForm();
{
document.formulier.submit(); // dan stuurt-ie de mail
document.location.href="nieuwepagina.html" // stuurt bezoeker door
}
This is the Way.
1
2
3
4
5
6
7
8
9
10
11
12
13
| <html><head><script type="text/javascript">
function submitForm();
{
document.formulier.submit(); // dan stuurt-ie de mail
document.location.href="nieuwepagina.html" // stuurt bezoeker door
}
</script></head>
<body>
<form name="formulier" action="mailto:...">
<inputs...>
<input type="button" onClick="submitForm();">
</form>
</body></html> |
[/aardig]
sjroorda schreef op 23 April 2003 @ 11:00:
Zet dan als submitButton 'onClick="submitForm();"' en dan een JS-functie (ja, die moet je dan wel gebruiken...)
function submitForm();
{
document.formulier.submit(); // dan stuurt-ie de mail
document.location.href="nieuwepagina.html" // stuurt bezoeker door
}
---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
| <HTML> <HEAD> <TITLE>BOELS Transport</TITLE> <head><script type="text/javascript"> function submitForm(); { document.formulier.submit(); // dan stuurt-ie de mail document.location.href="WWW.BOELS.COM" // stuurt bezoeker door } </script></head> <FONT FACE="verdana" size="2"> <FORM METHOD="post" ACTION="mailto:thi-ming.wang@boels.nl?SUBJECT=Aanvraag transport" enctype="text/plain"> <B>BOELS Transport</B><BR> <B>Naar [VUL E-MAIL IN]</B> <BR><BR> Bedrijfsnaam/zender:<BR> <INPUT TYPE="text" NAME="Afzender: " SIZE="40"><BR> Van (gemeente/locatie):<BR> <INPUT TYPE="text" NAME="Van: " SIZE="40"><BR> Land:<BR> <INPUT TYPE="text" NAME="Land: " SIZE="40"><BR> Naar (gemeente/locatie):<BR> <INPUT TYPE="text" NAME="Naar: " SIZE="40"><BR> Land:<BR> <INPUT TYPE="text" NAME="Land: " SIZE="40"><BR> <BR><BR><BR><BR> Afhaaldatum: <INPUT TYPE="text" NAME="Afhaaldatum: " SIZE="10" maxlength="10"> (in dd-mm-jjjj)<BR> Afhaaltijd tussen: <INPUT TYPE="text" NAME="Begintijd: " SIZE="4" maxlength="4"> en <INPUT TYPE="text" NAME="Eindtijd: " SIZE="4" maxlength="4"> (in 0000)<BR> <BR> Leverdatum: <INPUT TYPE="text" NAME="Levertijd: " SIZE="10" maxlength="10"> (in dd-mm-jjjj)<BR> Levertijd tussen: <INPUT TYPE="text" NAME="Begintijd: " SIZE="4" maxlength="4"> en <INPUT TYPE="text" NAME="Eindtijd: " SIZE="4" maxlength="4"> (in 0000) <BR> <BR><BR><BR><BR> Artikel:<BR> <INPUT TYPE="text" NAME="Artikel: " SIZE="40"><BR> Indien "UNIT"; Slede aanwezig? <input type="radio" name="Met slede: " value="NVT">Kies <input type="radio" name="Met slede: " value="Ja">Ja <input type="radio" name="Met slede: " value="Nee">Nee <BR><BR> Volume in europallets:<BR> <INPUT TYPE="text" NAME="Volume: " SIZE="40"><BR> <BR><BR><BR><BR> <SELECT NAME="Keuze: "> <OPTION>...kies </OPTION> <OPTION>Bakwagen </OPTION> <OPTION>Trekker/Oplegger</OPTION> <OPTION>Dieplegger </OPTION> <OPTION>Kraanwagen </OPTION> </SELECT><BR> Kraan aanwezig? <input type="radio" name="Met slede: " value="NVT">Kies <input type="radio" name="Met slede: " value="Ja">Ja <input type="radio" name="Met slede: " value="Nee">Nee <BR><BR><BR><BR> U kunt mij bereiken op<BR> Telefoon:<BR> <INPUT TYPE="text" NAME="Telefoonnummer: " SIZE="10" maxlength="10"><BR> E-mail adres:<BR> <INPUT TYPE="text" NAME="E-mail adres: " SIZE="40"><BR> <BR><BR><BR><BR> Opmerking:<BR> <TEXTAREA ROWS="3" COLS="30" NAME="Opmerking "></TEXTAREA><BR> <BR><BR><BR><BR> <INPUT TYPE="reset" VALUE="Reset formulier"> <INPUT TYPE="submit" VALUE="Verzend formulier" onclick="submitForm(); return false;"> </FORM> </FONT> </HTML> |
This is the Way.
Scriptrequests (waar dit onder valt) zijn ook niet gewenst.
[ Voor 52% gewijzigd door Bosmonster op 23-04-2003 11:18 ]
Dit topic is gesloten.
![]()