![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi. I have a javascript function that uses text with for instance another javascript function in it. so what i have in short is something like this: ? $text='Lot of text here....<javascript type="text/javascript" language="javascript">alert('bla');</script>... and here'; ? javascript type="text/javascript" language="javascript" alert('<?=$text?>'); /script So this breaks. escape() won't work. Is there some sort of CDATA tag i can use for this? Thanx for any advice Henry Vermeulen ** Posted from http://www.teranews.com ** |

![]() |
| Thread Tools | |
| Display Modes | |
| |