All pastes #423878 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-04 13:43 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head> </head>


<body>
	
<script type="text/javascript">


var all = "~a~b~c~d~f~g~";
var all2 = all.replace("~", "|");
alert(all);
alert(all2);


</script>

	
</body>
</html>

<!-- 
here. Because the JavaScript section was placed within the <body> element,
it ran as the page was being rendered.
-->