[Javascript] IE work-a-round question (re: checkboxes)

Claude Schneegans schneegans at internetique.com
Sat Apr 12 12:42:38 CDT 2008


 >>It is a quick and easy way to get at the characters you want from the 
string.

substr and substring are the appropriate way of doing it.

 >>Only if there is a bug in the JavaScript engine. The data type is string

Actually, Javascript is a typeless language. In C you would be right, 
but not with Javascript.
Sometimes types are guessed by the Javascript machine, and sometimes, it 
does not
guess it the way you would expect.



More information about the Javascript mailing list