/[suikacvs]/www/test/dom/node/operators/eqeq-getbyid-1.html
Suika

Contents of /www/test/dom/node/operators/eqeq-getbyid-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Sat Jan 1 03:10:50 2011 UTC (15 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
==

1 wakaba 1.1 <!DOCTYPE html>
2     <title>==</title>
3     <p id=result class=FAIL>FAIL (noscript)</p>
4     <script>
5     var result = document.getElementById ('result');
6    
7     var div = document.createElement ('div');
8     div.id = 'test-div-1';
9     document.body.appendChild (div);
10    
11     var div2 = document.getElementById ('test-div-1');
12    
13     if (div == div2) {
14     result.firstChild.data = 'PASS';
15     result.className = 'PASS';
16     } else {
17     result.firstChild.data = 'FAIL';
18     }
19     </script>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24