department);
employee.appendChild(dept_node);
br = document.createElement(???br??™);
employee.appendChild(br);
a = document.createElement(???a??™);
a.setAttribute(???href??™, ???mailto:??™ + data[i].email);
email = document.createTextNode(data[i].email);
a.appendChild(email);
employee.appendChild(a);
results.appendChild(employee);
} // End of FOR loop.
} else { // No employees, print a message.
??¦
138 Appendix
web resources
Along with the frameworks sites listed on the following pages, you might fi nd
these Ajax-specifi c sites worth your time (I??™ve whittled the hundreds and hundreds
of Ajax sites down to a good starting handful):
1 Ajax Patterns (www.ajaxpatterns.org) has tons of Ajax resources (in programming,
a pattern is a best practice for solving problems).
2 AJAX Matters (www.ajaxmatters.com) has a lot of articles on various Ajaxrelated
subjects.
3 Ajaxian (www.ajaxian.com) has been around since the beginning of Ajax
and has articles covering a range of Ajax-based topics.
4 Douglas Crockford??™s Wrrrld Wide Web (www.crockford.com) is short on
frills but long on usefulness. Crockford is a prominent JavaScript developer and
one of the people behind JSON.
Pages:
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121