How do i disable announcement banner poping-up every time i refresh the page?
below the footer and script.
<footer class="aui-dialog2-footer" id="infoPopupFooterDivId">
<input type="checkbox" id="infoPopupDontShowCheckboxId" style="margin-left:5px;">
<span id="dontShowSpanId" onclick="enableCheckBox();" class="aui-dialog2-footer-hint" style="font-size: 14px;">Do not show this again.</span>
<button class="aui-button aui-button-primary" id="infoPopupOkButtonId" onclick="hideInfoPopoup();" style="float:right;" resolved="">Close</button>
</footer> <!-- End of footer div-->
</section>
<script>
// Hides the dialog
AJS.dialog2("#infoPopupSuperContentDivId").show();
AJS.$("#infoPopupOkButtonId").click(function(e) {
e.preventDefault();
AJS.dialog2("#infoPopupSuperContentDivId").hide();
});
</script>