I have <select> lists with a bunch of controls to set various values related
to each item in the <select>. So far I'm concatenating the values with a
separator character and storing the data in the option.value of each item,
but that's obviously an unstable and non-general purpose solution. (What if
someone enters the separation character? What if a tree-like structure is
stored, requiring a different separation character for each level?)
So, as it would be a bit tedious to implement the equivalent of PHP's
"serialize( )/unserialize()" functions from scratch - anyone seen some code
around?
Joakim Braun
to each item in the <select>. So far I'm concatenating the values with a
separator character and storing the data in the option.value of each item,
but that's obviously an unstable and non-general purpose solution. (What if
someone enters the separation character? What if a tree-like structure is
stored, requiring a different separation character for each level?)
So, as it would be a bit tedious to implement the equivalent of PHP's
"serialize( )/unserialize()" functions from scratch - anyone seen some code
around?
Joakim Braun
Comment