if was there show box and if data was no in input thn hide a box using jquery code example
Example 1: hidden jquery
$('#yourid').attr('hidden', false);
$('#yourid').attr('hidden', true);
Example 2: save action hide element in jquery
$(function() {
if (Cookies.get('RemoveCount') == 'true' && Cookies.get('RemoveCount') != 'undefined') {
$("#count").hide();
} else {
$("#count").show();
}
}