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