Get elements with active class and send them in Ajax with jQuery – Jquery ajax
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…