
August 26th, 2001, 01:30 PM
|
|
Contributing User
|
|
Join Date: May 2001
Location: Ottawa, Ontario
Posts: 50
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
Bad JavaScript bug with special characters
Hi,
As I found that JavaScript is not capable to render numbered entities for special characters in any DHTML code. So, all codes like &_#_245_; ('õ' without uderscores) are displayed as numbers when used in form elements.
Simple example:
var test = "ó";
alert(test); - shows code
document.write(test); - shows character
Does anyone know a way to render character code as a character in alert() function or form elements?
Thanks,
Vic
|