Is this possible, my div data attribute is:
data-obj="{"__type":"GalleryImgModel","GalleryImageId":49,"GalleryId":0,"PersonId":264}"
and the jquery I tried based on the docs (Ive already defined item correctly!)
item.data('obj',{"MoreThanOneImage" : moreThanOneImage});
Help would be great thanks
data-objattribute value is not correct as the string enclosing quotes are messing with quotes of json attributes