[jQuery] Re: Possible to set metadata parameter dynamically?

2008-10-06 Thread Adrian Lynch
Is the data attribute something jQuery knows about? Never seen it myself. Anyway, here's an idea. If the value of data is in object notation, read it into a var and eval it much like you would a JSON string! Then you might be able to work on the data more easily. Adrian On Oct 4, 9:55 pm,

[jQuery] Re: Possible to set metadata parameter dynamically?

2008-10-06 Thread Erik Beeson
In an older version of the metadata plugin, you used to be able to set something (metaDone to false I think it was) that would force it to reload, but that doesn't work anymore. This is all untested, but here's my read on it: Now, metadata is stored in jQuery's internal caching system, which

[jQuery] Re: Possible to set metadata parameter dynamically?

2008-10-04 Thread me-and-jQuery
Well, I meant with attr(data,{ id : 6})... my mistake. On Oct 4, 10:24 pm, me-and-jQuery [EMAIL PROTECTED] wrote: So is it possible to change the value of metadata parameter? Lets say we have div data={ id: 5 }. Or is the only way to change it with attr(id,6)? I have more parameters for