Oh nice! Yeah what I need to do is get the source from you and add the cookie settings to the plugin. It's been working like a charm!
joe On Jan 6, 11:45 am, Balazs Endresz <balazs.endr...@gmail.com> wrote: > Hi Joe! > > Sorry, I was wrong, as the namespace is reversed. But maybe using it > this way is easier and a bit faster: > > $(el).data('myns', {}); > var mydata=$(el).data('myns'); //save a reference > mydata.prop=0; //set > mydata.prop; //get > > Btw. if you're still working on it the translation plugin has gotten > modularized, so you can skip the the language detection and the "ready > event" is firing properly too :) > > On Jan 6, 6:22 pm, Joe <joseph.is...@gmail.com> wrote: > > > Balazs, > > > That throws an error in the data method. > > > Joe > > > On Jan 6, 10:06 am, Ricardo Tomasi <ricardob...@gmail.com> wrote: > > > > You can't see all data saved either.. > > > > On Jan 6, 12:01 pm, Balazs Endresz <balazs.endr...@gmail.com> wrote: > > > > > Why not use $(el).data() for that? > > > > > On Jan 6, 12:57 pm, "Alexandre Plennevaux" <aplennev...@gmail.com> > > > > wrote: > > > > > > I would like to suggest a feature to add to jquery attributes > > > > > commands: > > > > > > I 'm using custom attributes to store UI states. At some point i > > > > > would find > > > > > it handy to be able to just console.log($(this).attr() ) to see all > > > > > the > > > > > attributes and their value. > > > > > > Not a groundbreaking change, but a nice -to-have... > > > > > > thanks > > > > > > Alexandre