Is anyone aware of any jQuery plugins that can work with a dynamic options object?
What I mean is, I need to be able to pass in:
$('div').somePlugin({title : 'title1', label : function(element){}, etc.});
and also
$('div').somePlugin({name : 'name1', url : function(element){},
event : 'event1', etc.});
So the options object needs the ability to have a variable number of items, key names, and values that can either be static or functions. If it's a function, I need to be able to evaluate the function before passing the value back from the plugin.