ben-g
6/2/2017 - 4:13 PM

javascript jQuery append text html to specific page onto widget area

javascript jQuery append text html to specific page onto widget area

<script type="text/javascript">

	$( document ).ready(function() {
	    if ( $('body').hasClass('page-id-007') ) {
	    	$('#menu-footer-menu-2').append( "<div class='disclaimer'><h4>Disclaimer</h4><p>**Disclaimer text to appear.</p></div>");
	    } else {
				// Do Nothin
	    }
	});
</script>