Notification div with auto hide

If you want to create a message notification div with auto hide property using jquery, see the code here

Add this to your java script code...

 $(document).ready(function() {

<style type="text/css">
  background: #FCFFB2; 
  color: white;
    padding-top: 3px;
And create div where you want to show in your page...

    <div id=" messageDiv " class="notificationDiv" >
    This is a notification div

Popular posts from this blog

Can not connect to git using ssh (Permissions 0644 for '/root/.ssh/id_rsa' are too open.

multiple checkboxes with same id