--- In [email protected], "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> try using isNaN()
> 
> if (isNaN(_myColor)){
> //do something when NaN
> }else{
> //do another thing when is a color
> }

I actually wound up just comparing straight to the getStyle() result 
and comparing that to undefined, since that's what it is when it 
isn't set.  I haven't been able to find any examples that show 
different ways of dealing with keywords, etc., so I figured that was 
the safest way.

And thanks :-)

-Amy

Reply via email to