If I have this HTML:
<form>
<a href="#" data-name="color" data-value="yellow" class="active">
<a href="#" data-name="color" data-value="red">
<a href="#" data-name="color" data-value="orange">
<a href="#" data-name="fruit" data-value="banana" class="active">
<a href="#" data-name="fruit" data-value="apple">
<buton id="send">Send</button>
</form>
How can I create an array with all the <a class="active"> through Ajax to play with them in PHP after ?
Thanks.