How add a css id selector to a views row
Solution 1: 

No need to add ID for each row, you can achieve it by each row CSS class it self. Instead of document.getElementById("js-fadeInElement"); you can use document.getElementsByClassName("js-fadeInElement"); 

Solution 2:


You can use Views theme templates to modify the HTML output and add your id attribute.
Under the Advanced section, you will find Theme: information.



  This link will show you possible file name for templates and a sample
  content of that file.



You probably want to copy and modify the "Style output". You can put your custom template in your own theme directory. You probably want a name like views-view-list--your-view--page.tpl.php


Please follow this link to override the template.