Adding a class to img tags using JavaScript

For all img tag simply use this codes,

$(document).ready(function(){ 
      $('img').addClass('imagedropshadow');
});

Leave a comment

Your email address will not be published. Required fields are marked *