Leser: 3
6 Einträge, 1 Seite |
<script language="JavaScript1.2" SRC="..//myJSlib/test.js">
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
#!/usr/bin/perl -wT
use strict;
print "Content-type: text/html\n\n";
#
# bla bla bla
#
use vars qw($Fehler);
$Fehler = "ungültig";
#
# bla bla bla
#
print <<"EOT";
<HTML>
<HEAD>
[b]
<script language="JavaScript1.2">
<!--
alert ("$Fehler");
//-->
</script>
[/b]
</HEAD>
<BODY>
<h1 align="center">Kopfzeile1</h1>
</BODY>
</HTML>
EOT
alert ("$Fehler");[/b]
<input type="button" onclick="myAlert('Fehlermeldung')">
<script language="JavaScript" src="http://localhost/cgi-bin/wi_termin.pl?filename=wi_termine.txt" type="text/javascript"></script>
1
2
3
4
5
6
7
8
9
10
11
#!/bin/perl -T
use strict;
print "Content-Type: text/html\n\n";
...
print "var _termine = new Array (\n";
for (@termin)
{ sprintf
qq~ new Array (%d, "%s", "%s"),\n~,
...
}
...
<script language="JavaScript" src="http://localhost/cgi-bin/wi_termin.pl?filename=wi_termine.txt" type="text/javascript"></script>
<script language="JavaScript" src="http://localhost/winkler/js/termin.js" type="text/javascript"></script>
6 Einträge, 1 Seite |