Something I have not done a very good job of in the past is preserving my programming work for future reference. Moving into the future I’m going to try to keep as much of my work as possible actively maintained on my personal servers for demo and reference purposes. I’ve actually been working on this for several months in my spare time but for larger projects this will take some more time and effort to complete. However, I have started a small JavaScript archive. It’s a good idea to keep simple JavaScript examples around to answer questions such as “Is it possible to do such and such in a web browser?” and “How do you do such and such in a web browser?”. Before I often turned to a site a former co-worker created: The Funky-fine JavaScript Archive. However, most of his examples only work in Internet Explorer and haven’t been updated to take the advances of Mozilla 1.x into account.

So I’m starting my own JavaScript Examples page. Sure, right now there’s only two items but I expect this will increase as I do more research for my current big project which will include a more than average amount of JavaScript and DHTML.

I posted the Date Chooser example last summer. Nothing new there. This morning I added the Rewritting HTML example. This comes in handy if you ever need to update a piece of content on a page without sending a request to the server and reloading the whole page. Of course you have to know (or be able to calculate on the client) all possible values for the content you want to change. That’s not always feasible but in the cases where it is I think this greatly enhances the user experience. If used right this can add lightning fast response times to web applications which generally rely on the slow request/response interaction with a server.