title: create cookie on Modal Window
body: <p>I want to build Modal Window with cookie to display only once . I follow this tutorial <a href="http://TUTORIAL" rel="nofollow">http://calebserna.com/bootstrap-modal-email-subscription-form/</a> but still not working ? can anyone tell me how to fix it ? thanks .
  here my website.<a href="http://website" rel="nofollow">http://cloudsblack.com/modalwindow.html</a></p>
  
  <p>here my code .</p>
  
  <pre><code>&lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
                        &lt;div class="modal-dialog"&gt;
                          &lt;div class="modal-content"&gt;
                            &lt;div class="modal-header"&gt;
                              &lt;div class="heading heading-v1 margin-bottom-10"&gt;
                                  &lt;h2&gt;&lt;strong&gt;&lt;span class="color-orange"&gt;Modal Window&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;
                              &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;div class="modal-body"&gt;
  
                              &lt;a class="btn btn-link" data-dismiss="modal"&gt;Close&lt;/a&gt;
  
                            &lt;/div&gt;
                            &lt;div class="modal-footer"&gt;
                            &lt;/div&gt;
                          &lt;/div&gt;&lt;!-- /.modal-content --&gt;
                        &lt;/div&gt;&lt;!-- /.modal-dialog --&gt;
                      &lt;/div&gt;&lt;!-- /.modal --&gt;
  
  &lt;script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.0/jquery.cookie.min.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  
   $(document).ready(function() {
       if ($.cookie(‘pop’) == null) {
           $(‘#myModal’).modal(‘show’);
           $.cookie(‘pop’, ’7′);
       }
   });
  
  &lt;/script&gt;
  </code></pre>