title: Using jQuery InsertBefore with variables
body: <p>Lets say we have a </p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;Item 1&lt;/li&gt;
      &lt;li&gt;Item 2&lt;/li&gt;
      &lt;li class="putbeforehere"&gt;Something Else&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>The following works fine:</p>
  
  <pre><code>var test = "&lt;li&gt;Test&lt;/li&gt;";
  var test = $(test);
  
  test.insertBefore('.putbeforehere');
  </code></pre>
  
  <p>That works fine. However I need to use a variable within the () of insertBefore.</p>
  
  <p>Example:</p>
  
  <pre><code>var here = $(something).find('.someclass').children('ul.list li.item');
  </code></pre>
  
  <p>So I have some data that's returned via AJAX, will call it "data".</p>
  
  <pre><code>var data = $(data);
  data.insertBefore(here);
  </code></pre>
  
  <p>This does not work. What am I doing wrong?</p>
  
  <p>Thank you!</p>