Happy to help!
Cheers!

On Mon, Jan 25, 2010 at 3:56 PM, Jan <[email protected]> wrote:

> Hi Roman,
> you mean like this ?
>
>    var myHash = new Hash({
>      aProperty: '10',
>      anotherProperty: '20'
>    });
>    var myotherHash = new Hash({
>      aProperty: '100',
>      anotherProperty: '200'
>    });
>    test = [myHash, myotherHash];
>    $("testdiv").store('test', test);
>    console.log("test: %o", $("testdiv").retrieve('test'));
>
> This works flawlessly, thanks for pointing me in the right direction !
> Cheers,
> Jan
>
>
> On 24 Jan., 19:23, Roman Land <[email protected]> wrote:
> > Not an answer but more of a suggestion, why not use a Hash? (or array/
> > object)
> >
> > On Sun, Jan 24, 2010 at 8:15 PM, Jan <[email protected]> wrote:
> > > Hi,
> > > is there an elegant way of retrieving all stored values of an
> > > Element ?
> > > Let's say: $("myElement").retrieveAll(); ?
> > > And going even further, would it then be possible to only get those
> > > values which keys follow a searchstring: $("myElement").retrieveAll
> > > ("^item") ?
> > > Thanks,
> > > Jan
> >
> > --
> > ---
> > "Make everything as simple as possible, but not simpler."
> >
> > - Albert Einstein
>



-- 
---
"Make everything as simple as possible, but not simpler."

- Albert Einstein

Reply via email to