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

tedd tedd at sperling.com
Sat Apr 12 12:13:55 CDT 2008


>At 7:22 AM -0700 4/12/08, Hassan Schroeder wrote:
>>tedd wrote:
>>
>>>   The offending code is this:
>>
>>>       var id2 = 'c' + id[2] + id[3];
>>
>>? I've never seen that shorthand before; do you have a reference to
>>JS treating a String as a byte array?
>
>
>No, I don't have a reference -- it's just one of those old habits
>from previous languages. In this case, it worked for breaking a
>string into its characters.
>
>It may not work in all cases and was not the reason for failure with
>my current problem.

I stand corrected -- it was the reason.

Cheers,

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the Javascript mailing list