I have the following divs:
<div id='1' title='A' description='B' activity-note='C' grouped-as='Test'> </div>
<div id='4' title='Z' description='Z' activity-note='Z' grouped-as='Soil Prep'> </div>
<div id='5' title='Q' description='Q' activity-note='Q' grouped-as='Soil Prep'> </div>
I would like to get the values for each of the assigned items in the div.
I have tried using the following (as an example) but I get an error:
title=document.getElementById('1').getAttribute("title");
Obviously I am confused and so any help and/or guidance would be appreciated.