I am displaying data from one page in another page in the following way:
<script>
$(document).ready(function(){
$( "#2017" ).load( "data.html .2017" );
$( "#2016" ).load( "data.html .2016" );
});
</script>
<div id="2017"></div>
<div id="2016"></div>
...BUT I also need to be able to hide (onload) certain div classes from within the linked file...
<script>
$(document).ready(function(){
$('.private-files').hide();
});
</script>
I know that the code above will hide divs by class