Try something like instead:

if( $("input[name='createNewAccount']").is(":checked") )  {
        //do stuff
}

On Jun 19, 11:07 am, "[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?

Reply via email to