The first thing I'd suggest would be getting rid of json2007.js. It breaks a lot of code, although I'm not sure why it would be causing a problem in this particular case.
Try the json2005.js instead, as described on this page: http://code.google.com/p/reallysimplehistory/wiki/UsageInstructions -Mike > From: Nick Cooley > > Hello everyone -- > > Having a bit of difficulty using jQuery 1.2.6 with > json2007.js. (using RSH) > > Here's the code > > $('h3').each(function(index){ > $(this).attr("id",'button' + (index+1)); > > }) > > Has anyone ever seen this error (via firebug) while trying to > run similar > code: > > 'String contains an invalid character" code: "5' > > As far as I can tell, the "attr" function is trying to > process 'toJSONString' as property of the 'h3' element (line > 174 of jquery-1.2.6). > When it does so, toJSONString, being a function throws the error... > > Any suggestions for resolution would be appreciated... > > Thanks! > > Nick >

