I have program where a user can enter text in a <textarea>.
I want to give that user the possibility to have a pre-look at how his entered data looks at an html screen.
I want to show him that in a separate window.
So I use the JavaScript window.open function, passing it the text-processing program and the text that the user has entered so far. For this I use the following code
Expand|Select|Wrap|Line Numbers
- function OpenWindow() {
- var text = document.MyForm.formtekst.value.toString().replace(/\n/g ,'<br>');
- hello=window.open('disp_formtekst.php?naam=pass&v=' + text, '');
- }
I understand that using a POST method allows me to pass more then 2083 bytes.
My question is: can anyone point me to a solution that allows me to pass more then 2083 bytes in the window.open function?
Thanks in advance for any suggestions.
Ronald :cool: