I need help targeting specific attributes in links to append classes based on the file extension. My page displays various types of files, from images to .ppt files. I am using ASP.NET MVC and jQuery for this project.
<a class="screenshot" title="" fileext=".ppt" rel="http://google.com/test.jpg" href="#">