Skip to main content

Bug Tracker

Side navigation

Ticket #6158: test-6158.html
File test-6158.html, 0.4 KB (added by dmethvin, August 11, 2010 01:44AM UTC)
<!DOCTYPE html> 
<html> 
<head> 
<title></title> 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>
<script type="text/javascript"> 
$(document).ready(function(){

	$('.foo').replaceWith(function (){
		return '<div>' + $(this).text() + '</div>';
	});
  
});
</script> 
</head> 
<body> 



</body> 
</html>

Download in other formats:

Original Format