My inquiry is as follows:
<label for="gender" class="error">Choose</label>
I am interested in dynamically adding an id attribute to the above line using jQuery or JavaScript, resulting in the following html:
<label for="gender" class="error" id="addthisid">Choose</label>
Is this feasible? If so, how can I go about achieving this?