Disable spacebar
<p>I have created an <strong>image gallery</strong> in php using mysql. It has the capability to <strong>add comments</strong> by user. </p>

<p><a href="http://i.stack.imgur.com/kUZpm.png" rel="nofollow">screenshot</a></p>

<p>My problem here is that whenever i try <strong>pressing a spacebar</strong> in my message box, it changes the image and im not able to enter more than one word in my message box.</p>

<p>Is it because of my code?? Or is it a default behavior?? If so, how can i stop it??</p>
