Hi all,
My local development project has been working perfectly for...6 days now? I haven't even touched the login/register page for 2 days+ yet all of a sudden all JavaScript has seized up! I've been using the page to login all day and only now has it stopped working.
I'm using JQuery to manage what form is present based on button clicks and this has been working perfectly. here is one example:
jQuery('#register-btn').click(function () {
jQuery('.login-form').hide();
jQuery('.register-form').show();
});
The button that calls this JQuery:
<div class="create-account">
<p>
Don't have an account yet ?
<a href="javascript:;" id="register-btn" class="">Create an account</a>
</p>
</div>
Now when that button is lciked nothing happens. Again, the problem is now with any of the code above as all JavaScript has stopped working. This includes the fading background:
$.backstretch([
"assets/img/bg/1.jpg",
"assets/img/bg/2.jpg",
"assets/img/bg/3.jpg",
"assets/img/bg/4.jpg"
], {
fade: 2000,
duration: 4000
});
I'm working on Windows 8 and using XAMPP. I have tested this in all 4 of my installed browsers (Chrome, Firefox, Safari & Opera). What can cause JavaScript to just stop working? I have attempted a machine restart as well as an apache2 restart. Google searches don't seem to be getting me anywhere.
Thanks in advance for any help.