Is the id "createNewAccount" unique within the page?
On Jun 20, 9:02 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > Your code should work. > You didn't close the input tag correctly but that shouldn't matter. > > Do you have a demo online ? > > -- > Ariel Fleslerhttp://flesler.blogspot.com > > On 19 jun, 12:07, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Hello. > > > I have this JQuery code which works absolutely fine in Firefox: > > > if ($("#createNewAccount").is(":checked")){ > > // do stuff > > > } > > > The variable 'createNewAccount' is defined as follows: > > > <input type="checkbox" name="createNewAccount" id="createNewAccount"> > > > But this simply will not work in IE. What am I doing wrong please?