how to find anchor tag in a div and push it to an array using jquery. i tried it but my result shows arry=[jquery(a1,a2,a3,a4,a5)] and if i tried to check the array length it shows only one but not 5. please help. Iam getting the anchor tag by $(el).find(‘a’);
Share
There is a
toArraymethod for jQuery objects. These method wil convert the jQuery result to a normal array: