title: Meteor: Auto-update across browsers fails in my app when "space" character is used
body: <p>Here's a strange thing. I'm up and running on my first Meteor app. </p>
  
  <p>You can see it at: <a href="http://www.howli.st" rel="nofollow">http://www.howli.st</a></p>
  
  <p>Here's what's happening:</p>
  
  <ol>
  <li>Press process to use the sample data to take you to the data
  entry screen where you can pop in a few values </li>
  <li>Take the Session Reference from the top right corner and in another browser open up
  howli.st again and then paste that session reference into the box on
  the right to "retrieve data" </li>
  <li>Both browsers are now in the same session and if you type data in one it will update in the other.</li>
  </ol>
  
  <p>Small glitch: here's what happens over a series of changes to the form binding box:</p>
  
  <ol>
  <li>"hello" -> "hello" </li>
  <li>"hello world" -> "hello" <strong>note no change in other broswer</strong> </li>
  <li>"helloworld" -> "helloworld" <strong>the other browser now updates!</strong></li>
  </ol>
  
  <p>Here's the code from my app:</p>
  
  <p>html:</p>
  
  <pre><code>    &lt;tr&gt;
         &lt;td&gt;form binding&lt;/td&gt;
         {{#each sessioninfo}}
         &lt;td colspan="2"&gt;&lt;input type="text" id="formbinding" value={{formbind}} &gt;&lt;/td
         {{/each}}    
      &lt;/tr&gt;
  </code></pre>
  
  <p>js:</p>
  
  <pre><code>Template.thedata.events = {    
   'keyup #formbinding':function(){
       //save formbinding to MyItems
       var thisSession = Session.get("thisSession");
       MySessions.update({_id: thisSession}, {$set : { formbind : $('#formbinding').val()}});
    }
  };
  
  Template.thedata.sessioninfo = function(){
      return MySessions.find({}); 
  };  
  </code></pre>
  
  <p>Any help gratefully received.</p>
  
  <p><strong>Update</strong> If I use a variable theformbind = $('#formbinding').val() to pass to my update statement then the other browser does update, but it only shows the text preceding the space i.e.</p>
  
  <ol>
  <li>abcd -> abcd</li>
  <li>ab cd -> ab</li>
  </ol>
  
  <p>Looking in the mongodb the correct value "ab cd" has been stored</p>