'defer' Example : defer « Object Attributes « HTML / CSS

HTML / CSS
1. Action Attributes
2. Background Attributes
3. Basic Attributes
4. Basic Tags
5. CSS Attributes and Javascript Style Properties
6. Form Attributes
7. Form Tags
8. Frame Attributes
9. Frame Tags
10. Image Attributes
11. Images Tags
12. Layout Attributes
13. Link Attributes
14. Link Tags
15. List Attributes
16. List Tags
17. Marquee Attributes
18. Meta Tags
19. Microsoft Attributes
20. Object Attributes
21. Object Tags
22. Reference
23. Styles Tags
24. Table Attributes
25. Table Tags
26. Text Attributes
27. Text Tags
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
HTML / CSS » Object Attributes » defer 
'defer' Example


<html>
<head>
<SCRIPT LANGUAGE="Javascript" defer='false'>
function function1()
{
  var islandRoot = document.all["myXML"].XMLDocument;
  alert(islandRoot.nodeName);
}
</SCRIPT>

<SCRIPT LANGUAGE="XML" id="myXML">
<offerings>
 <class>
     <materials>This should render.</materials>
     <time>1.5hr</time>
     <professor>P</professor>
     <classRoomNumber>101</classRoomNumber>
 </class>
</offerings>
</SCRIPT>

</head>
<body>
<button onclick="function1()">Test the XML Data Island</button>
</body>
</html>

      
      
Related examples in the same category
w_ww__.__j_a___v___a_2__s_.___c_o__m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.