Cant use spaces in input fields...

classic Classic list List threaded Threaded
3 messages Options
Dan
Reply | Threaded
Open this post in threaded view
|

Cant use spaces in input fields...

Dan
Hey all,

Currently making like an admin section, when the user clicks on someones name and clicks edit, a shadow box comes up with all their info. All the info is loaded via ajax from a file using (using $.get('... etc) then all the html that is returned is put into a variable called data, which is then put into the shadowbox content option and loaded with the html player.

It would seem that none of the input fields allow the user to use the spacebar... As in whenever someone presses the spacebar it just doesnt do anything. Nothing gets put into the input field. Same happens with text areas too. You can however copy a space in (ie with control + v after you have copied a space from somewhere..) which makes me think it might just be that key on the keyboard. Is there something in there that disables the spacebar?

Thanks in advance for your help,
Dan
Reply | Threaded
Open this post in threaded view
|

Re: Cant use spaces in input fields...

Wizzud
Have you set enableKeys:false in the Shadowbox.init() options? If not, do so.
Combine literacy with curiosity and a whole world of information opens up to you
Dan
Reply | Threaded
Open this post in threaded view
|

Re: Cant use spaces in input fields...

Dan
Thats the chappy chears :)