Rev | Line | |
---|
[483] | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
---|
| 3 | <head> |
---|
| 4 | <title>Test dojo.query() on XHTML/XML doc</title> |
---|
| 5 | <script type="text/javascript" src="../../dojo.js"></script> |
---|
| 6 | <script type="text/javascript"> |
---|
| 7 | dojo.require("doh.runner"); |
---|
| 8 | dojo.ready(function(){ |
---|
| 9 | doh.register(function(){ |
---|
| 10 | doh.is(1, dojo.query("p#test").length, "matched nodes"); |
---|
| 11 | }); |
---|
| 12 | doh.run(); |
---|
| 13 | }); |
---|
| 14 | </script> |
---|
| 15 | </head> |
---|
| 16 | <body> |
---|
| 17 | <p id="test"></p> |
---|
| 18 | </body> |
---|
| 19 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.