Appending an array of jQuery objects to another jQuery node
<p>In version 1.3.2 of jQuery, the following works:</p>

<pre><code>$('&lt;span/&gt;').append(
  $([
    $('&lt;span/&gt;').append(
      $('&lt;a&gt;').attr('href', 'http://google.com').text('Google')
    ),
    $('&lt;span/&gt;').text('Foo')
  ])
)
</code></pre>

<p>It seems that in jQuery 1.4.2, the $([...]) fails silently.  I need this code to be compatible with both versions of jQuery since our unit tests are forced to run 1.3.2, but the main application uses jQuery 1.4.2.  Any ideas?</p>
