0

I've tried using the following code in FramerJS to create a new attribute + value, but it produces nothing:

$('div[name]').each(function() {
    $(this).attr('groupName', $(this).attr('name'));
});
eclipsis
  • 1,541
  • 3
  • 20
  • 56
  • I have no idea what FramerJS is . but have you tried using **data-attribute** ? I am not sure if you can create that attribute *groupName* but I'm almost certain that you can create a **data-attribute** e.g., "data-groupname" – JF-Mechs Apr 12 '16 at 00:22
  • It needs to be an attribute named groupName. – eclipsis Apr 12 '16 at 00:26

0 Answers0