Struggling to implement a fadeIn function for a div tag with a display:none property.
How can I make the div tag visible and smoothly fade in while still keeping the display:none property?
Attempted solution so far:
<div class="graphs_line_based clearfix" style="display:none" id = "test_id">
And this is what I tried in my .script file:
document.getElementById('test_id').fadeIn(1000);
Unfortunately, the animation doesn't work as expected. Any advice would be highly appreciated!