il problema sono attr(’id’)Codice PHP:
$(".commento").each(function(i){
alert ($(this).attr('id')); })
ci vogliono o ' o "
+ veloce
Codice PHP:
$(".commento").each(function(i){
alert (this.id);
})
![]()
il problema sono attr(’id’)Codice PHP:
$(".commento").each(function(i){
alert ($(this).attr('id')); })
ci vogliono o ' o "
+ veloce
Codice PHP:
$(".commento").each(function(i){
alert (this.id);
})
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it