I’m working with multiple instances of flexmonster and i want to get the flexmonster object by id using jquery in previous versions the code below works, but with flexmonster v2.8.1 i get undefined.
var pivotObject = $("#pivot-container").data("flexmonster");
Thank you for posting your question.
In case the scenario above resembles your use case, we would recommend configuring all instances through jQuery instead in order to ensure everything works as expected. Furthermore, we’ve checked this on previous Flexmonster versions and it seems to us that such behavior has always been there.
Check out a quick sample we’ve prepared where both instances are set up through jQuery and the
API call works properly: http://jsfiddle.net/flexmonster/a3yc7vhu
Please let us know if this helps.