<div id="dynamicTable" columns="26,40,41,21,71,39,23,19">
var columns = $('#dynamicTable').attr('columns'); var attributeIds = new Array(); attributeIds = columns.split(',');
This creates an array of strings, I need them to be ints. What's the best way to do this?