[thelist] RE: JS Boolean Object... part 2
Chris Marsh
chris at ecleanuk.com
Thu Dec 4 15:02:05 CST 2003
[..]
> > bolValue = someFunc ( someVar );
[..]
> I can get this to work...
>
> if ( bolValue == 'true' ) // not what I'm looking to do
> // do something here
> else
> alert ( bolValue.err );
>
> I'd rather not do this.
This would indicate to me that someFunc(v) is returning a string value rather
than a boolean value. Can you post the code for someFunc(v)?
Regards
Chris Marsh
More information about the thelist
mailing list