title: Convert string to Mongo ObjectID in Javascript (Meteor)
body: <p>I have a Meteor application whereby I initially use the <code>_id</code> field from each record in my collection when naming list items in my template. </p>
  
  <p>When  get the <code>_id</code> field, I convert it to a string to use in the template. </p>
  
  <p>Now I want to update these records in Mongo and am passing the <code>_id</code> back to a <code>Meteor.method</code>, but these are still in string format and Mongo is expecting an ObjectID(). Is there a simple way to convert this string to the <code>ObjectID()</code>? If not, what alternatives do I have?</p>