I am using this code to achieve the result of breaking the text in the enter button is pressed. It`s working perfectly, but I want to display the text in another page.
$(document).ready(function() {
$('#input').keyup(function() {
$('#output').html($(this).val());
});
});
<textarea id="input"></textarea><br />
<pre id="output" style="font-family: Arial";></pre>
How do I use <pre id="output">
in another page? Any ideas?