Archives for: "August 2007"

Doing Dumb Things with the Javascript Date Object

I ran into a weird (but, in retrospect, entirely predictable) problem generating dates. The code in question is supposed to kick in when the user is booking a resource for multiple days - this day each week for four weeks, this day each month for four m… more »

Prototype.js Ajax.Request: Beware of carriage returns in response text

Another in the long running saga "Dumb things Rob did with Javascript." I ran across a strange error in some fairly simple Ajax code the other day. Here's the code:function () {new Ajax.Request(urlTxtSrch+'&txtTEXTSRCH=' + encodeURIComponent( $('tx… more »