I want this div displayed on my page whenever there is a "Y" in the database.
<div style="width:100%; height:41px; position:fixed; bottom:0px; background:#184888; padding:22px 0 0 15px; bottom:0px; z-index:9997; box-shadow: 10px 10px 5px #888888;" id="hide">
<div id="message" style="z-index:9998;"> </div>
How would I make it so that the div is displayed and not displayed without refreshing the page. Basically I have to see if it is a "Y" in the database, and if it is, display the div. If an "N" is in the database do not display the div, using JavaScript.
I am currently using this function to see check the database for a value.
$('div#checkcheck').load('../bar/check.php/check.php');