OLD | NEW |
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xh
tml-basic/xhtml-basic10.dtd"> | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xh
tml-basic/xhtml-basic10.dtd"> |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 <head> | 4 <head> |
5 <script> | 5 <script> |
6 function print(message) | 6 function print(message) |
7 { | 7 { |
8 var paragraph = document.createElement("li"); | 8 var paragraph = document.createElement("li"); |
9 paragraph.appendChild(document.createTextNode(message)); | 9 paragraph.appendChild(document.createTextNode(message)); |
10 document.getElementById("console").appendChild(paragraph); | 10 document.getElementById("console").appendChild(paragraph); |
(...skipping 28 matching lines...) Expand all Loading... |
39 <option selected="selected">1</option> | 39 <option selected="selected">1</option> |
40 <option>2</option> | 40 <option>2</option> |
41 <option selected="selected">3</option> | 41 <option selected="selected">3</option> |
42 | 42 |
43 <option>4</option> | 43 <option>4</option> |
44 </select> | 44 </select> |
45 <input type="reset" name="reset" value="Reset 1" id="reset1"/><br/> | 45 <input type="reset" name="reset" value="Reset 1" id="reset1"/><br/> |
46 <hr> | 46 <hr> |
47 <p><ol id=console></ol></p> | 47 <p><ol id=console></ol></p> |
48 </form></body></html> | 48 </form></body></html> |
OLD | NEW |