I'd say one of:
metadata plugin
metaobjects plugin
expandos
a variable

--Erik

On 5/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi All,

I'm looking for a way to store information about a class, like the
current "page" it's on (for ajax paging) and such.  Essentially I
would like to do the following:

$("#object").page = 2;
$("#object").page; //returns 2

However, this doesn't quite seem to work.  I considered using attr(),
but that didn't seem like the best way to do it, as it edits the
HTML.  I looked at the metadata plugin, but after a cursory glance it
seemed like overkill.

Any suggestions?

Thanks,
Kyle


Reply via email to