Hello everybody,

I have a little question about the developpement of a new JQuery
plugin.
(I hove it's the right place to ask ).
I understood how to add method to a jquery object but I don't find how
to had an "attribute" to this objet.
My goal is to have attributes attached to my object to retrieve
information after a second call on the same object.
For example :

$("#id").ofc("add", options);

and next :

$("#id").ofc("update");
When this update action is performed, I would like to retrieve the
object "options" from the precedent call but I don't know where
storing this option in my plugin.

I hove my question is understandable.

Thank You!

Reply via email to