/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Validation script problem in IE7 en IE6

Dear…

I am using a jquery code to validate my form. I have adjusted this script for my needs. This is working fine in Chrome, Firefox and IE8. When I test in IE7 & IE 6 I get an error link:

Line: 114
Char: 5
Error: Id, character of number is expected
Code: 0

When I use the original code I don’t get this error but still the script doesn’t work. Can anyone please help me out here?

You can see the code I am using with the following link:
[URL=”http://www.plaatscode.be/139845″]http://www.plaatscode.be/139845
[/URL]

Thanks!
Jelte

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@FangAug 16.2010 — Usually indicates an array problem; IE considers a terminal comma as an empty item, other browsers ignore it.email: {
required: " ",
email: " "[COLOR="Red"],[/COLOR]
}
Empty items are present in other arrays too.
Copy linkTweet thisAlerts:
@JLTauthorAug 16.2010 — Thanks Fang,

That solves the IE error, nice!

Can you also see why the form isn't validated. Normaly when I type a correct e-mail I see an succes image and if it isn't a valid e-mail I get an error image. That works in all browsers except IE7 and IE6.

Maybe you can help me solve that problem to!

Thanks again!

Jelte

The Netherlands
Copy linkTweet thisAlerts:
@FangAug 16.2010 — Would need to see the full document or link
Copy linkTweet thisAlerts:
@JLTauthorAug 16.2010 — Hi Fang,

Thanks again for your quick reply. But I solved the problem by correcting the CSS file for the older IE browsers.

Thanks for your time.

Jelte
×

Success!

Help @JLT spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...