ajarantes
Programmer
- Jan 29, 2003
- 8
If I use this command:
==> w i n d o w . d o c u m e n t . w r i t e l n ( " A t e n & c c e d i l ; & a t i l d e ; o " ) ;
the result is the expected, i.e., A t e n ç ã o
on the other hand, if I use this other command:
==> w i n d o w . a l e r t ( " A t e n & c c e d i l ; & a t i l d e ; o " ) ;
it gives me back exactly what I wrote. It doesn't seem to interpret the & c c e d i l ; nor the & a t i l d e ;. The result is A t e n & c c e d i l ; & a t i l d e ; o
Does anybody know why?
==> w i n d o w . d o c u m e n t . w r i t e l n ( " A t e n & c c e d i l ; & a t i l d e ; o " ) ;
the result is the expected, i.e., A t e n ç ã o
on the other hand, if I use this other command:
==> w i n d o w . a l e r t ( " A t e n & c c e d i l ; & a t i l d e ; o " ) ;
it gives me back exactly what I wrote. It doesn't seem to interpret the & c c e d i l ; nor the & a t i l d e ;. The result is A t e n & c c e d i l ; & a t i l d e ; o
Does anybody know why?