Hello,
a> I am comparing the values of the text property of the select
a> control....my comparisions fails...how to handle that while
a> comparing....
Replace all the NBSP's with regular spaces before comparing, eg with
var replaced = original.replace(/ /, " ");
Note that in the above line the character between the slashes is the NBSP
char (Alt+0160 to type in) and the quoted char is a space.
(H) Serg
Steve Fulton - 15 Sep 2005 12:13 GMT
> Hello,
>
[quoted text clipped - 8 lines]
> Note that in the above line the character between the slashes is the NBSP
> char (Alt+0160 to type in) and the quoted char is a space.
Perhaps /\xa0/g would be more clear (and replace all non-breaking spaces).

Signature
Steve
If we were to wake up some morning and find that everyone was the same
race, creed and color, we would find some other cause for prejudice by
noon. -George D. Aiken