[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread martin
oh you legend, that works! that's an amazing plugin you've made, many thanks :) thanks again, Martin On Feb 13, 5:07 pm, Jörn Zaefferer wrote: > Add this: > > errorContainer: $(".js_error_container") > > That'll show and hide the container accordingly. > > Jörn > > On Fri, Feb 13, 2009 at 6:03

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread Jörn Zaefferer
Add this: errorContainer: $(".js_error_container") That'll show and hide the container accordingly. Jörn On Fri, Feb 13, 2009 at 6:03 PM, martin wrote: > > Hey thanks Jörn, I've got it 95% working, hope you can help with the > last 5% > > If you take a look here: > http://stuweb.cms.gre.ac.u

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread martin
Hey thanks Jörn, I've got it 95% working, hope you can help with the last 5% If you take a look here: http://stuweb.cms.gre.ac.uk/~tm514/multibook/register.php I want to completely hide the red div from showing until the validate function is fired off, ive tried adding display:none to the css bu

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-01-14 Thread Jörn Zaefferer
You can specify rules using plugin options. Take a look at "rules": http://docs.jquery.com/Plugins/Validation/validate#toptions Its also used in various demos, eg. second example here: http://jquery.bassistance.de/validate/demo/ Jörn On Wed, Jan 14, 2009 at 11:15 PM, martin wrote: > > Hey Jörn

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-01-14 Thread martin
Hey Jörn thanks for the reply. What I mean by error containers is like the examples you have provided here -> http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html I checked and yes they actually do validate as XHTML 1.0 Transitional, however, I'm using XHTML 1.1 which doesnt like

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-01-10 Thread jQuery Lover
Martin probably just concerned about the characters in classname ({:,}). Well they are valid in class names in XHTML 1.0 strict. So no wories :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 2:19 PM, Jörn Zaefferer wrote: > I don't see how that isn't

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-01-09 Thread Jörn Zaefferer
I don't see how that isn't valid XHTML. Apart from that, could you clarify "error containers"? What do you mean? Jörn On Fri, Jan 9, 2009 at 12:40 AM, martin wrote: > > From what I can make of the documentation, the only way to use > validation containers is to put something like... > > class="