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 element, so this is not an elegant solution. > > Thanks.