|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
[javascript]is it possible to store a multilines text in a var ?
hello everyone,
i'm using the wysiwyg editor in my php forum, and i'd like to konw how to store a multi-lines text in a js var, or how to populate the iframe with an multi-lines text, because the solution that was gived only works with single line txts thx bye |
|
#2
|
|||
|
|||
|
when you insert the value into the editor you have to use php to remove all instances of \r and \n (replace with blanks) for the editor to work.
|
|
#3
|
|||
|
|||
|
in fact, it is not that the problem(i think):
this an exemple: PHP Code:
and that doesn't work ![]() |
|
#4
|
|||
|
|||
|
in fact you were right
thx ![]() |
|
#5
|
|||
|
|||
|
I usually am (*wishes*)
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > [javascript]is it possible to store a multilines text in a var ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|