I am using a template to build a one page portfolio site. The contact form is acting very strange. I cannot enter space in any of the contact fields.
I'm using the following jQuery plugins:
When you focus in on the message field, it does not allow you to use any spaces. Any ideas on why the spacebar doesn't work?
jquery.gallerific.js implements a page-wide keydown handler that captures the spacebar and stops it from functioning.
934 if (this.enableKeyboardNavigation) {
935 $(document).keydown(function(e) {
936 var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0;
937 switch(key) {
938 case 32: // space
939 gallery.next();
940 e.preventDefault();
941 break;
If you scroll back to the gallery portion of the document while still focusing the form, you will notice that pressing the spacebar progresses to the next image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With