I asking the user to select given emails, and getting them with javascript from a form on click.
If I have an href like
<a href="#" id="myHref" emails="whatever@example.com"></a>
And I have a bunch of checkboxes for every email obtained from the database
Using javascript, how can I add this value
into the emails="" tag by clicking the checkbox?