0

Can anyone point the difference between the List and List<Object> in Java.

Also how does java differentiate the old collections and new Generic supported classes ?

How does it make it backward compatible?


you can do it this way

var rowCount=0;
$('#tbl tr').each(function () {  

 if(rowCount%2==0){
  //document.getElementById(grpid).style.background = '#3875D7';  
  $(this).css(background,'#3875D7');       
 }else
 {
 //document.getElementById(grpid).style.background = '#3875D9';  
 $(this).css(background,'#3875D9');              
 }
 rowCount++;

});  

EDITED: Code has been converted to pure jQuery standard

happy Coding :)

4

0 に答える 0