rem: $('<b id="replace">buga</b>').replaceAll("#yahoo"); 
add: $('#yahoo').replaceWith('<b id="replace">buga</b>'); 
context: test("replaceAll(String|Element|Array&lt;Element&gt;|jQuery)", function() {	expect(10);	$('<b id="replace">buga</b>').replaceAll("#yahoo");	ok( $("#replace")[0], 'Replace element with string' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after string' );		reset();	$(document.getElementById('first')).replaceAll("#yahoo");	ok( $("#first")[0], 'Replace element with element' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after element' );	reset();	$([document.getElementById('first'), document.getElementById('mark')]).replaceAll("#yahoo");	ok( $("#first")[0], 'Replace element with array of elements' );	ok( $("#mark")[0], 'Replace element with array of elements' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after array of elements' );		reset();	$("#first, #mark").replaceAll("#yahoo");	ok( $("#first")[0], 'Replace element with set of elements' );	ok( $("#mark")[0], 'Replace element with set of elements' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after set of elements' );});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3217/1ac9d6fbeed214d59ea5c31a87ff2c19bb08dbc8/core.js/buggy/test/unit/core.js