Robin Haswell wrote: > I think that's a bit overkill. My fix should work fine for anything that > doesn't include newlines. If this were my application I'd dump the data > in a hidden <ul><li> or maybe as an xml string and parse it with the > built-in DOM parser. Much better parse something in XML than *shudder* > javascript. JS shouldn't be used for heavy data processing because it > burdens the client (IMO).
Really? I would think that XML parsing in JS is much more burdensome than a native format. Would you replace all of you JS hashes with XML? -- Michael Peters Developer Plus Three, LP _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs