Well, putting "var" before the variables will probably make IE happy,
but it also makes the function useless.


On Sat, Sep 12, 2009 at 7:12 AM, Rick Faircloth
<r...@whitestonemedia.com> wrote:
> That did it…seems to satisfy IE that way, too.
>
>
>
> Thanks,
>
>
>
> Rick
>
>
>
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of Dhruva Sagar
> Sent: Saturday, September 12, 2009 6:06 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: Why would this code cause this error in IE?
>
>
>
> You should use the keyword 'var' before each variable.
>
> Thanks & Regards,
> Dhruva Sagar.
>
>
> Charles de Gaulle  - "The better I get to know men, the more I find myself
> loving dogs."
>
> On Sat, Sep 12, 2009 at 3:33 PM, Rick Faircloth <r...@whitestonemedia.com>
> wrote:
>
> Code:
>
>
>
>        $(document).ready(function() {
>
>
>
>               streetNumber         = 'valid';
>
>               streetName          = 'valid';
>
>               city                 = 'valid';
>
>               state                = 'valid';
>
>               bedrooms             = 'valid';
>
>               fullBaths            = 'valid';
>
>               rent                 = 'valid';
>
>               securityDeposit      = 'valid';
>
>
>
>        });
>
>



-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

Reply via email to