In Html we have:
<div id="t1" > </div>
<div id="t2" > </div>
<div id="t3" > </div>
I'm not afraid:
var aux="#t";
var count=0;
$(document).ready(function(){
$("#t1").click(function(){
count=count+1;
aux = aux.concat(count.toString());
});
$(aux ).click(function(){
alert("Hello!!!");
});
});
In the second click it does not work, how can I do something like this?