BillyRayPreachersSon
Programmer
I've been using this method of storage for some time now, but can't remember where I found out about it:
Code:
var newRecord = { left: 0, top: 0 };
What I want to know is what is it called? I've always called the structure a record, but is this the correct terminology?
You can access the 'fields' in the 'record' using either dot notation (newRecord.left) or string notation (newRecord['left']).
BTW... For anyone interesting in an example that uses this storage method, check out my post on dynamic table sorting:
thread216-752635
Dan