[jQuery] Re: JQuery effects not working in Internet Explorer 6
Hi Henry, Thanks you very much for your help. I have eradicated the comma and also did some other polishing work, but nothing has changed :-( The error message I am getting in Internet Explorer 6 is still the same. What bugs me is that Internet Explorer doesn't tell me the exact name of the file that the error comes from. It is constantly referring to a missing semicolon, but I can't figure out where that might be. Not even in which file... Can anybody come to the rescue? Thanks for any help in this matter... On Feb 6, 12:40 pm, Henry wrote: > On Feb 6, 10:30 am, Tintin81 wrote:> I am new to Javascript and implemented a > few nice JQuery > > features on http://new.designbits.de";>my new > > website . All of them work great in Firefox and Safari. > > > In IE6, however, the site looks like a mess, even with > > Javascript enabled in the options panel. > > > > There are two JScript errors reported as that page loads in IE. The > first is a complaint about a missing ';' (and you will have to track > down yourself), the second is in your functions.js file where you > have:- > > $.extend($.validator.messages, { > required: "", > email: "", > > }); > > - in which an object literal's contents end in a comma. This is a > syntax error by ECMAScript rules, and so should be expected to be a > syntax error in browsers that implement the ECMAScript standard (such > as JScript in IE (more or less)). The ECMA standard allows syntax > extension and JavaScript(tm) (and good JavaScript(tm) imitators) take > advantage of that to be more tolerant of commas at the end of object > literal contents than they need to be (as the extra commas do not > result in ambiguities). JScript doesn't and so sees the comma as a > syntax error, and so that is a very likely cause of differences in > behaviour between IE and other browsers. Particularly if the behaviour > on IE looks like total failure to act on a script.
[jQuery] Re: JQuery effects not working in Internet Explorer 6
Hi and thanks for your feedback. Changing the document type didn't improve anything though :-( I think the devil is in my functions.js file. Where would I validate javascript files? Any ideas? Thanks... On Feb 6, 11:48 am, "..:: sheshnjak ::.." wrote: > First try to replace first line in code of your page with > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > > and see if it resolves anything. It could be only that, if not then > try to validate your page (currently you have 20 warnings, no errors) > and remove problems. I think it should do it. > > ..:: sheshnjak ::..www.tomislavdekovic.iz.hr
[jQuery] JQuery effects not working in Internet Explorer 6
Hey, I am new to Javascript and implemented a few nice JQuery features on http://new.designbits.de";>my new website . All of them work great in Firefox and Safari. In IE6, however, the site looks like a mess, even with Javascript enabled in the options panel. How can I get this fixed? Can anybody help? Thanks for any help!
[jQuery] Re: How to submit a form with an Anchor rather than an Input tag?
Hi Liam and Klaus, thanks for your swift feedback. I forgot to say that I am using the http://docs.jquery.com/ Plugins/Validation">JQuery Validation Plugin for this matter. The function I am using is rather simple: $(document).ready(function() { $("#contact-form").validate(); $.extend($.validator.messages, { required: "", email: "", }); How can I get it to work from an anchor tag in the form?? Any helo is appeciated...
[jQuery] How to submit a form with an Anchor rather than an Input tag?
Hi, I have a very simple contact form that I would like to submit using an anchor rather than an input tag. This is what I've got so far: [code]Send[/code] Unfortunately, it doesn't work :-( Can anybody help me with this? Thanks a lot...