Skip to main content

Bug Tracker

Side navigation

Ticket #6455: test-6455.html


File test-6455.html, 0.4 KB (added by dmethvin, June 22, 2010 03:06AM UTC)

Test case

<html>
  <head>
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
    <script>
$(document).ready(function() {
  var tester=[];
  for (var i=0; i<2;i++) {
    tester.push($("<li>test"+i+"</li>")[0]);
  }
  $(tester).appendTo('#list');
  alert("done");
});
    </script>
  </head>
  <body>
    <ul id='list'></ul>
  </body>
</html>

Download in other formats:

Original Format