21 lines
		
	
	
		
			545 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			545 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html lang="en">
 | 
						|
<head>
 | 
						|
	<meta charset="UTF-8">
 | 
						|
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
						|
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
						|
	<title>Form Selection</title>
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
	<textarea id="embed-code"></textarea>
 | 
						|
	<button type="submit" onclick="postEmbedCode()">Submit</button>
 | 
						|
 | 
						|
	<script type="text/javascript">
 | 
						|
		function postEmbedCode(event) {
 | 
						|
			var embedCode = document.querySelector("#embed-code").value;
 | 
						|
			window.parent.postMessage(embedCode);
 | 
						|
		}
 | 
						|
	</script>
 | 
						|
</body>
 | 
						|
</html>
 |