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

diego nunes dnunes at gmail.com
Fri Apr 11 17:12:26 CDT 2008


On 4/11/08, tedd <tedd at sperling.com> wrote:
>  All the code has to do is to set a simple checkbox to 'on' in IE.

    "elementReference.checked='checked';" should work (XHTML
compatible as well), but simply using "true" should do the job as
well. I use a code almost exactly like this and work flawless in all
browsers that does suport CSS and DOM.

    Did you tried to check if the element reference is correct? You
may be using it too early and the browser didn't rendered it yet or
something.

-- 
diego nunes
dnunes.com



More information about the Javascript mailing list