jQuery Script to Ajaxically Display Source Code
Published June 11th, 2006
Dynamic Code Viewing with jQuery
Here's the latest cool script from Chris Heilmann... a small JavaScript file that lets you display your source code files for demonstration purposes by simply linking to them. Like Heilmann's DOMInclude script (but with jQuery instead of Prototype), the link uses an Ajax request to pull the source code into the page dynamically. This process prevents duplication of effort in maintaining separate copies of source code. Could come in pretty handy!
Show Comments