title: $('#notificationClick').click not working
body: <p>so I'm trying to make this works here is the jquery+php.</p>
  
  <p>When I try to trigle the click in jquery it doesnt even does the "alert()".</p>
  
  <p>PHP(Updated):</p>
  
  <pre><code>$MSG_Notification_sql = mysqli_query($Connection, "SELECT * FROM notifications WHERE user_id='".$bzInfo['id']."'");
  
  while ($MSG_Notification_row = mysqli_fetch_array($MSG_Notification_sql)){        
  
      $MSG_Notification_rows[] = $MSG_Notification_row;        
  
  }
  
  foreach ($MSG_Notification_rows as $MSG_Notification_row){                
  
      $bzWhen = date('d-m-Y H:m:i', strtotime($MSG_Notification_row['when']));
  
  
      echo '&lt;form method="POST"&gt;
              &lt;div class="notificationClick notification-messages info"&gt;
                  &lt;div class="user-profile"&gt; 
                      &lt;img src="assets/img/profiles/d.jpg"  alt="" data-src="assets/img/profiles/d.jpg" data-src-retina="assets/img/profiles/d2x.jpg" width="35" height="35"&gt;
                  &lt;/div&gt;
                  &lt;div class="message-wrapper"&gt;
                    &lt;div class="heading"&gt; '.$MSG_Notification_row['title'].'&lt;/div&gt;
                    &lt;div class="description"&gt; '.$MSG_Notification_row['description'].' &lt;/div&gt;
                    &lt;div class="date pull-left"&gt; '.$bzWhen.'&lt;/div&gt;
                  &lt;/div&gt;                               
                  &lt;input name="notificationID" value="'.$MSG_Notification_row['id'].'" style="display: none" /&gt;                
                  &lt;div class="clearfix"&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/form&gt;';
  
  }
  </code></pre>
  
  <p>Javascript(Updated):</p>
  
  <pre><code>$(document).ready(function(){
      $('.notificationClick').click(function(event){                 
  
                  alert('Ok');
  
          // get the form data
          // there are many ways to get this data using jQuery (you can use the class or id also)
          var formData = $('#notificationClick').serialize();
  
          // process the form
          $.ajax({
              type        : 'POST', // define the type of HTTP verb we want to use (POST for our form)
              url         : '../../class/notifications/msgs_del.php', // the url where we want to POST
              data        : formData, // our data object                         
              dataType    : 'json' // what type of data do we expect back from the server
  
          })
              // using the done promise callback
              .done(function(data) {
                  // log data to the console so we can see
                  console.log(data); 
  
                  window.location = '/?page=messages&amp;sub=inbox&amp;bx=preview&amp;id='+ data.notificationID +'';
  
              });                                                
  
              event.preventDefault();
      });
  });
  </code></pre>
  
  <p>Can anybody help me please? I'm trying to complete this but nothing :(</p>