0

I have a contact form with standard input fields, in which all fields working well but when i try to put something in message box (textarea input tag ) it is not taking space between two words..

  • 2
    Can you add some code? Can you explain it more in detail? Can you update this fiddle? http://jsfiddle.net/empie/W34SQ/ – emp May 22 '14 at 04:58
  • Also there is no such thing as an input tag for textarea: http://stackoverflow.com/questions/5637326/why-isnt-textarea-an-inputtype-textarea – emp May 22 '14 at 05:02
  • thanks for reply my textarea code is given below http://panacheheights.com/ – user3663403 May 22 '14 at 05:02

1 Answers1

0

In the file mb.bgndGallery.js, there is the following function:

keyboard:function(el){
            $(document).on("keydown.bgndGallery",function(e){
                switch(e.keyCode){
                    case 32:
                        if(el.opt.paused){
                            $.mbBgndGallery.play(el);
                            el.opt.paused=false;
                        }else{
                            el.opt.paused=true;
                            $.mbBgndGallery.pause(el);
                        }
                        e.preventDefault();
                        break;
     }
  });
}

Keystroke '32' is representing the 'spacebar' and this one is causing troubles. You either remove this case or disable the keyboard functionality of this plugin (at the top of the file).

$.mbBgndGallery ={
        name:"mb.bgndGallery",
        author:"Matteo Bicocchi",
        version:"1.8.0",
        defaults:{
            activateKeyboard:false

        }
emp
  • 4,926
  • 2
  • 38
  • 50