Skip to main content

Bug Tracker

Side navigation

Ticket #5225: test.html
File test.html, 0.5 KB (added by tarlen, September 14, 2009 10:56PM UTC)

Example demonstrating the issue.

<html>
	<head>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
		<script type="text/javascript">
			$(function(){
				$("div.test").wrapInner("<div></div>");
			});
		</script>
	</head>
<body>
	<div class="test">
		<p>normal text</p>
		<p>
			<script type="text/javascript">
				/*<![CDATA[*/document.write("document.write text");/*]]>*/
			</script>
		</p>
	</div>
</body>
</html>

Download in other formats:

Original Format