/[suikacvs]/www/test/dom/document/meta/domain-1.html
Suika

Contents of /www/test/dom/document/meta/domain-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Fri Dec 29 13:05:39 2006 UTC (18 years, 4 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New

1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>document.domain</title>
5 </head>
6 <body>
7 <p><script type="text/javascript">
8 if (typeof (document.domain) == 'undefined') {
9 document.write ('You do not have <code>document.domain</code>.');
10 } else if (document.domain == null) {
11 document.write ('<code>document.domain</code> is <code>null</code>.');
12 } else if (document.domain == '') {
13 document.write ('<code>document.domain</code> is an empty string.');
14 } else {
15 document.write ('<code>document.domain</code> is <code>');
16 document.write (document.domain.replace ('&', '&amp;')
17 .replace ('<', '&lt;'));
18 document.write ('</code>.');
19 }
20 </script></p>
21 </body>
22 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24