[thelist] [JS] toLowerCase() not a function error - data types

Tom Dell'Aringa pixelmech at yahoo.com
Wed Apr 7 15:39:16 CDT 2004


--- Marcus Andersson <marcus at bristav.se> wrote:
> Isn't the result from exec an array?
> 
> Try validDataType[0].toLowerCase() instead

Yes it is, and that does work grabbing the [0] index.

Tom

=====
http://www.Pixelmech.com/ - read my latest blog posting!
http://www.DMXzone.com/ - JavaScript Author
http://SparklesParties.com - Princess parties for little girls!
http://www.thywordistruth.net/ - Eternal Life

"Well, my name's Dewey Oxburger. My friends call me Ox. I dont know if you've noticed, but I got a slight weight problem."





More information about the thelist mailing list