rem: $('<select id="prependSelect1"></select>').prependTo('form:last'); $('<select id="prependSelect2"><option>Test</option></select>').prependTo('form:last'); 
add: expected = "This link has class=\"blog\": Simon Willison's WeblogTry them out:Yahoo"; $("#first, #yahoo").appendTo('#sap'); ok( expected == $('#sap').text(), "Check for appending of jQuery object" ); 
context: test("prependTo(String|Element|Array&lt;Element&gt;|jQuery)", function() {	expect(6);	var defaultText = 'Try them out:'	$('<b>buga</b>').prependTo('#first');	ok( $('#first').text() == 'buga' + defaultText, 'Check if text prepending works' );	ok( $('<option value="prependTest">Prepend Test</option>').prependTo('#select3').parent().find('option:first-child').attr('value') == 'prependTest', 'Prepending html options to select element');		reset();	var expected = "Try them out:This link has class=\"blog\": Simon Willison's Weblog";	$(document.getElementById('first')).prependTo('#sap');	ok( expected == $('#sap').text(), "Check for prepending of element" );	reset();	expected = "Try them out:YahooThis link has class=\"blog\": Simon Willison's Weblog";	$([document.getElementById('yahoo'), document.getElementById('first')]).prependTo('#sap');	ok( expected == $('#sap').text(), "Check for prepending of array of elements" );		reset();	expected = "Try them out:YahooThis link has class=\"blog\": Simon Willison's Weblog";	$("#yahoo, #first").prependTo('#sap');	ok( expected == $('#sap').text(), "Check for prepending of jQuery object" );		reset();	$('<select id="prependSelect1"></select>').prependTo('form:last');	$('<select id="prependSelect2"><option>Test</option></select>').prependTo('form:last');		t( "Prepend Select", "#prependSelect1, #prependSelect2", ["prependSelect1", "prependSelect2"] );});
meta: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/e3263063e4ef3d2e0ee6b74b9da573bf40e87668/coreTest.js/buggy/src/jquery/coreTest.js