Code Toolbox
This is where I post things that I’ve written that I think will come in handy.
The list is small right now, mostly because I haven’t had time to update the site lately (*sniff*). You’ll either see
a ZIP file or a link to a page with the code on it.
Disclaimer? I can't provide any kind of support on these downloads (not that you need any). However,
if you notice errors on a download or tutorial, I'd appreciate it if you let me know.
Sortable AJAX Grid
This is a javascript that takes an XML feed and displays it as a sortable table -
all with only one XMLHttpRequest and no page refresh! Requires web server software
such as Apache HTTP Server or IIS.
Classic ASP XML Proxy Script
I got bored one Sunday morning and decided to write a server-side XML proxy (useful if you want to use AJAX to consume a feed from another website). The code (ASP Javascript) is pretty short so I just included it on the sample page.
- Classic ASP with server-side JScript
- Requires Microsoft Internet Information Services (IIS) 5.0 or higher
- Requires MSXML 4+ (Download)
AJAX Example (ajaxexample.zip
| 4.44 Kb
| See example)
- A simple, do-it-yourself example of the AJAX/XmlHttpRequest technique.
- Please Note: You will need to run this example on a webserver such as Apache or IIS.
Random quote using XML DOM (randomquote_xmldom.zip
| 2.46 Kb)
This example will show you how to use the XML Document Object Model to display a random quote on your website.
RFC-822 Date/Time generator (See example)
I recently had to write an AJAX script that would send the client’s current time
to the server in RFC822 datetime format. Hence this script (included on the example page).