Ok so I want to pass a very basic array into a jquery data attrubute server side like so:
<
A different approach is posted at jsfiddle; var stuff = $('div').data('stuff'); stuff is a string with 0th character as '['
var stuff = $('div').data('stuff');
Well, var stuff = eval($('div').data('stuff')); should get you an array
var stuff = eval($('div').data('stuff'));