Y
yellowtek
Hi,
I've got some JavaScript inserted within a PHP echo instruction:
<?php>
echo " ... javascript ...."
<?>
This context may be important, I don't know...
At some point within the JavaScript, I want to add a carriage return at
the end of a field value:
str = str + '\n';
but this writting does not work, because the Javascript produced in the
html page gives:
str = str + '
'
How to do this?
Thanks.
Herve.
I've got some JavaScript inserted within a PHP echo instruction:
<?php>
echo " ... javascript ...."
<?>
This context may be important, I don't know...
At some point within the JavaScript, I want to add a carriage return at
the end of a field value:
str = str + '\n';
but this writting does not work, because the Javascript produced in the
html page gives:
str = str + '
'
How to do this?
Thanks.
Herve.