I have a matrix of tags <a href="">, generated by this code in JQuery:
function makeList(){
var listContainer = $("#matrix");
for(i=0; i<10; ++i){
listContainer.append( $("<nav><ul> <li><a href="">v1</li>
<li><a href="">v2</li> <li><a href="">v3</li>
<li><a href="">v4</li>"));
console.log("adding...");
}
}
Now I have 40 <a href=""> links, and a user click one of them. I need to access to this very <a href=""> and make something to it.
How can I do it? Thank you