Bug Tracker

Ticket #6158: test-6158.html

File test-6158.html, 366 bytes (added by dmethvin, 12 years ago)
Line 
1<!DOCTYPE html> 
2<html> 
3<head> 
4<title></title> 
5<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>
6<script type="text/javascript"> 
7$(document).ready(function(){
8
9        $('.foo').replaceWith(function (){
10                return '<div>' + $(this).text() + '</div>';
11        });
12 
13});
14</script> 
15</head> 
16<body> 
17
18
19
20</body> 
21</html>