![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi guys, based on users button press i am passing the following to my javascript function, test('é'). and within my javascript i have this function test(x) which processes this input. now i am comparing this input using this, if ((x == "é")) { alert ('eacute clicked') }, but i am unable to capture this for some reason. everything else works. except special characters. btw i am using english operating system. has anybody else has had this problem, and can someone suggest a fix. thanks. |
#3
| |||
| |||
|
|
petedawn (AT) gmail (DOT) com wrote: hi guys, based on users button press i am passing the following to my javascript function, test('é'). and within my javascript i have this function test(x) which processes this input. now i am comparing this input using this, if ((x == "é")) { alert ('eacute clicked') }, but i am unable to capture this for some reason. everything else works. except special characters. btw i am using english operating system. has anybody else has had this problem, and can someone suggest a fix. thanks. try to insert "alert(x)" before that "if" and you will see why x=="é" is false |
#4
| |||
| |||
|
|
based on users button press i am passing the following to my javascript function, test('é'). and within my javascript i have this function test(x) which processes this input. now i am comparing this input using this, if ((x == "é")) { alert ('eacute clicked') }, but i am unable to capture this for some reason. everything else works. except special characters. btw i am using english operating system. |
#5
| |||
| |||
|
|
hi, I have a similar problem .. I use spanish language and i need to use both question marks (¿?) and when i put ¿ into an alert .. alert ('¿') it shows this one '?' so a question that should be like this ¿desea activar? is displayed like this ?desea activar? ... I tried with ¿ but it doesn't work .. |
#6
| |||
| |||
|
|
uoL a écrit : hi, I have a similar problem .. I use spanish language and i need to use both question marks (¿?) and when i put ¿ into an alert .. alert ('¿') it shows this one '?' so a question that should be like this ¿desea activar? is displayed like this ?desea activar? ... I tried with ¿ but it doesn't work .. è = \xe8 é = \xe9 ¿ = \xBF ò = \xF1 ó = \xF3 alert('\xbf heart ? Qu\xe9 ! Es el coraz\xf3n en espa\xf1ol !'); http://www.miakinen.net/vrac/charsets/ (wait loading ...) You click a glyfe and you see on right pannels its different codes specialy that 'hexa' then to use this hexa in JS alerts, prompts ans so on : \xYY where YY is hexa code of character hexa table (not complete) : http://groups.google.fr/group/fr.com...d87f1a7?hl=fr& -- ASM |
#7
| |||
| |||
|
|
hi, I have a similar problem .. I use spanish language and i need to use both question marks (¨?) and when i put ¨ into an alert .. alert ('¨') it shows this one '?' so a question that should be like this ¿desea activar? is displayed like this ?desea activar? ... |
#8
| |||
| |||
|
|
"uoL" <wmarcos (AT) gmail (DOT) com> wrote in news:1162557034.357432.293900 @f16g2000cwb.googlegroups.com: hi, I have a similar problem .. I use spanish language and i need to use both question marks (¨?) and when i put ¨ into an alert .. alert ('¨') it shows this one '?' so a question that should be like this ¿desea activar? is displayed like this ?desea activar? ... alert('¿desea activar?'); shows exactly that, in FF 1.5 and IE 6.0. What browser are you using, that doesn't show what you want? |
![]() |
| Thread Tools | |
| Display Modes | |
| |