[javascript] wat vind je van deze code? :)

Pagina: 1
Acties:
  • 34 views sinds 30-01-2008

  • aqua_man
  • Registratie: Januari 2002
  • Laatst online: 26-07-2023

aqua_man

one life, live it!

Topicstarter
code:
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
<HTML>
<HEAD>
<script language="javascript">
<!-- Begin
function Button() {
    if (document.form.field.options[document.form.field.selectedIndex].value == "")
    document.form.button.value = "Kies er een uit!";
    else
    document.form.button.value = "Klik hier!";
}

function Check() {
    if (document.form.field.options[document.form.field.selectedIndex].value == "")
    alert('Kies er eerst een uit!');
    else {
        if (document.form.field.options[document.form.field.selectedIndex].value == "14")
        alert('U rule!\nCU @ GoT!');
        else
        alert('U suck!');
    }
}
// End -->
</script>
<TITLE>GoT</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">

<font size="2" color="#000000" face="Verdana">
 je favoriete forum
</font><p>

<form name="form">
 <select name="field" onChange="Button()">
  <option value="">/--
  <option value="3">/3
  <option value="4">/4
  <option value="5">/5
  <option value="6">/6
  <option value="7">/7
  <option value="8">/8
  <option value="9">/9
  <option value="10">/10
  <option value="11">/11
  <option value="12">/12
  <option value="13">/13
  <option value="14">/14
  <option value="15">/15
  <option value="16">/16
  <option value="19">/19
  <option value="21">/21
  <option value="22">/22
  <option value="23">/23
  <option value="24">/24
  <option value="26">/26
  <option value="32">/32
  <option value="33">/33
  <option value="43">/43
  <option value="44">/44
 </select>
 <input name="button" type="button" onClick="Check();" value="Kies er een uit!">
</form>

</BODY>
</HTML>

*D had nix te doen >:)

2 swim or not 2 swim, that's the question


  • jonggoud.nl
  • Registratie: Augustus 2001
  • Laatst online: 10-07 08:35

jonggoud.nl

@>--"--,--{

Leuk? |:( Als je 14 selecteerd dan ben je cool??

Nieuw (groots) project, mail me wat je er van vindt
Tevens in het bezit van een beeldschone vriendin


  • aqua_man
  • Registratie: Januari 2002
  • Laatst online: 26-07-2023

aqua_man

one life, live it!

Topicstarter
Op woensdag 09 januari 2002 16:53 schreef jonggoud.nl het volgende:
Leuk? |:( Als je 14 selecteerd dan ben je cool??
daar komt het wel op neer ja

2 swim or not 2 swim, that's the question


  • SWINX
  • Registratie: Juni 2001
  • Laatst online: 02-06 23:18
Javascript hoort in [forum=13]

maar verder gaat dit draadje ook nergens over |:(

Mannen komen van Mars Tweakers, vrouwen van Venus Bokt


  • dusty
  • Registratie: Mei 2000
  • Laatst online: 21-02 00:06

dusty

Celebrate Life!

Bovendien is de HTML erg slecht. ( <option> )

Back In Black!
"Je moet haar alleen aan de ketting leggen" - MueR


Verwijderd

Op woensdag 09 januari 2002 16:54 schreef aqua_man het volgende:

[..]

daar komt het wel op neer ja
Okey dan maar bedenk dan nu eens eentje voor 21 ;) op de leuke manier dan B-)

  • wasigh
  • Registratie: Januari 2001
  • Niet online

wasigh

wasigh.blogspot.com

mooi mooi
Pagina: 1

Dit topic is gesloten.