• Categories



  • Archives

  • Archive for the Javascript Category


    Processing templates in Javascript

    Published November 10th, 2005

    One of the most tedious and awkward tasks for anyone using Ajax methods to fetch data from a remote source and then update a page, is building the HTML in Javascript. You’re stuck with either interpolating your data into great big Javascript strings (not helped by the fact that you can’t use line breaks in [...]

    JSON: Alternative Javascript object syntax

    Published November 3rd, 2005

    When I began researching the technology I’d need to build this CMS I’ve been working on — specifically, familiarising myself with some of the more esoteric aspects of Javascript — I kept coming across example code that didn’t seem to make any sense. In place of functions and arrays there would be just a bunch [...]

    Updated: Upload multiple files with a single file element

    Published October 2nd, 2005

    STOP PRESS: There is now a new version, based on Mootools. [ 10th October 2005: Updated again to add Safari support. Many thanks to Luis Torrefranca, Jamie Butler and Matt Kurpiewski (http://www.law.pitt.edu) and Shawn Parker & John Pennypacker (http://www.fuzzycoconut.com) for their help. ] A bug in my upload multiple files with a single file element [...]

    Firefox Extension: View Rendered Source

    Published August 11th, 2005

    When you’re working extensively with pages that make use of dynamic HTML — ie. using Javascript to manipulate the structure of a page — the “View source” option in Firefox becomes effectively redundant, because the original source that you’ll see may not bear much resemblance to the ‘true’ current state of the page. This can [...]

    Upload multiple files with a single file element

    Published July 13th, 2005

    STOP PRESS: There is now a new version here, based on Mootools. Please note: As you will notice if you take the time to read this article, you will see no mention of the word ‘Ajax’ (apart from the ones in this paragraph). That’s because this technique has nothing whatsoever to do with Ajax — [...]

    « Previous Entries Next Entries »