[jQuery] Re: Help with W3C validation and jQuery

2008-06-12 Thread Priest, James (NIH/NIEHS) [C]
I'm rethinking my duplicate ID issue. What I'm considering now is giving one field a different name, and if they have JavaScript enabled - rename it... This should pass validation, and work if the user has JavaScript on or off... Jim

[jQuery] Re: Help with W3C validation and jQuery

2008-06-12 Thread Priest, James (NIH/NIEHS) [C]
CDATA tags fixed the IMG issue! Thanks! Jim > -Original Message- > From: tlphipps [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2008 11:03 AM > To: jQuery (English) > Subject: [jQuery] Re: Help with W3C validation and jQuery > > > You need to put so

[jQuery] Re: Help with W3C validation and jQuery

2008-06-12 Thread NichlasBrodegaardLarsson
Try to put your javascript in an external file or in cdata tags The text inside the CDATA, will be ignored by the w3c parser More info: http://www.w3schools.com/XML/xml_cdata.asp You could also try this method. Not that nice though, but i think it would work: $('.reqdfield').append('<'+'img

[jQuery] Re: Help with W3C validation and jQuery

2008-06-12 Thread Priest, James (NIH/NIEHS) [C]
Yep - I'm running it through the WebDeveloper toolbar in Firefox - Validate Local HTML. Jim > -Original Message- > From: Roncioso [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2008 10:16 AM > To: jQuery (English) > Subject: [jQuery] Re: Help with W3C v

[jQuery] Re: Help with W3C validation and jQuery

2008-06-12 Thread tlphipps
You need to put some comment blocks around your Javascript/jquery code so the validator will ignore it. something like this: /* */ On Jun 12, 8:06 am, "Priest, James (NIH/NIEHS) [C]" <[EMAIL PROTECTED]> wrote: > I've got a site in which I'm tryi

[jQuery] Re: Help with W3C validation and jQuery

2008-06-12 Thread Roncioso
I don't think W3C Validator checks injected dom. Did you tried to validate the document from local? -- Luca On Jun 12, 3:06 pm, "Priest, James (NIH/NIEHS) [C]" <[EMAIL PROTECTED]> wrote: > I've got a site in which I'm trying to get W3C validated and running > into a few issue with jQuery and I w