I'm trying to work with HTML5 data-* attributes. However I'm using the EasyUI framework and it's being problematic.
HTML5 defines options are set as follows:
<div data-options="{region:'north', title:'North Region', border:true}">
But EasyUI enforces they are set like (no curly brackets):
<div data-options="region:'north', title:'North Region', border:true">
Is there a way to access the attribute object without writing my own parser function? If I have to I must but I figure there must be a better way.
Thanks for any help.