Reputation: 11
I have this :
<div class="imgarea product_image preload" style="opacity: 0; ">
I want to change opacity:0 to opacity:1
I have tried this :
$(document).ready(function() {
$('.imgarea.product_image.preload"').removeAttr('style')
});
I'm trying to remove style, or to change it to opacity:1, because image don't shows up.
Please help
Upvotes: 0
Views: 644
Reputation: 4828
If I understand what you mean you could do this with jquery
$('.imgarea.product_image.preload').css('opacity', 1);
Edit: i forgot the dot before imgarea. You can test it here -> http://jsfiddle.net/Vwevs/
Upvotes: 1