[jQuery] Re: Logic issue - can jQuery help?

2008-04-03 Thread Shawn
I've worked through a sample using an indexing "hash" object. (is there a better term for this sort of thing?). It seems this is working out rather well. Basically I have code that looks something like this: var index = {}; for (var x=0; x < json.length; x++) { var curItem = json[x]; i

[jQuery] Re: Logic issue - can jQuery help?

2008-04-03 Thread J Moore
I've used an object to 'cache' jquery instances. Works great. I've also used id strings to pack data. like where the 'x' is because id's shouldn't be numeric. And the other numbers might be your employee id or task id. I find this id method ugly, and would rather use a javascript object (or "has