So I am able to create a tag name on the fly and add it to my html
$('#'+modal_ID).attr('tag', roleName);
Will create the following html div:
<div class="modal simplemodal-data" id="modal-1" style="" tag="Actor">...
Now my question is, how do I retrieve that tag information to use elsewhere?
var saveTagVar = $('#'+modal_ID).getElementsByTagName; //Trying something like this