lundi 4 janvier 2016

Jquery Click not working on test server

I'm kind of stuck and need some help. I've got the following code that I can get to work in a test document, but once it gets on my test server, it loads as it's supposed to, but then the fadeOut click doesn't work.

 /* -- Show SignUp -- */

$(document).ready(function() {
      function showBox() {
        $("#box").fadeIn(500).removeClass('hidden');
      };
          setTimeout(showBox, 3000);
    });

/* -- Hide SignUp -- */

$(document).ready(function(){
   $("#close").click(function(){
       $("#box").fadeOut(500);
   });
});

the link to the test server can be found here.

Aucun commentaire:

Enregistrer un commentaire