title: Objects in Arrays: Unexpected String
body: <p>I am getting the above error in this code:</p>
  
  <pre><code>var inputs = {
      $("&lt;input&gt;").attr({"type":"hidden","name":"collegeID"}).val(collegeID),
      $("&lt;input&gt;").attr({"type":"hidden","name":"collegeID"}).val(collegeID),
      $("&lt;input&gt;").attr({"type":"hidden","name":"collegeID"}).val(collegeID),
      $("&lt;input&gt;").attr({"type":"hidden","name":"collegeID"}).val(collegeID),
      $("&lt;input&gt;").attr({"type":"hidden","name":"collegeID"}).val(collegeID),
      $("&lt;input&gt;").attr({"type":"hidden","name":"collegeID"}).val(collegeID) 
  }
  </code></pre>
  
  <p>This looks pretty valid to me.  I want to <code>.append()</code> the variable on to a div and I dont want to have to create a bunch of different variables to do that.</p>