I would like to store the row ID in a hidden attribute such that I am able to getSectionIDs("repeating_weaponsranged", function(idarray) { for(var i=0; i < idarray.length; i++) { //Do something with the IDs console.log(idarray[i]); setAttrs({ "repeating_weaponsranged_"+idarray[i]+"_weaponsranged_id":idarray[i] }); } }); Is it possible to store the ID in a hidden attribute like this?