I'm having a strange problem with jNice and the validation plugin.
Probably the easiest way to describe the error is by giving an
example.
I load the page with my form on it, then without typing anything, I
click submit. The jQuery validation plugin puts errors around my
fields saying This field
Yeah..
www.racedaystaff.com - log in as jorn/jorn then click proceed to
site then click register at the top.
Thanks for looking at this !
On Nov 13, 3:51 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Do you have a testpage?
Jörn
On Fri, Nov 13, 2009 at 4:40 PM, Samuurai djbe
Oh - Log in as jorn/jorn
On Nov 13, 3:58 pm, Samuurai djbe...@gmail.com wrote:
Yeah..
www.racedaystaff.com- log in as jorn/jorn then click proceed to
site then click register at the top.
Thanks for looking at this !
On Nov 13, 3:51 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote
Sorry - I have a goldfish memory today. - Repeating myself :p
On Nov 13, 4:01 pm, Samuurai djbe...@gmail.com wrote:
Oh - Log in as jorn/jorn
On Nov 13, 3:58 pm, Samuurai djbe...@gmail.com wrote:
Yeah..
www.racedaystaff.com-log in as jorn/jorn then click proceed to
site then click
, Samuurai djbe...@gmail.com wrote:
Yeah..
www.racedaystaff.com- log in as jorn/jorn then click proceed to
site then click register at the top.
Thanks for looking at this !
On Nov 13, 3:51 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Do you have a testpage?
Jörn
errorDiv = element.parents('.error');
158 element.remove();
159 errorDiv.siblings().remove();
160 errorDiv.replaceWith(errorDiv.children());
161 }
You replace the div? That causing the DOM to rerender, including the input,
killing the focus.
Jörn
On Fri, Nov 13, 2009 at 6:17 PM, Samuurai
Hi,
This is my first attempt at using addMethod and it's always returning
true, for some reason.
This is placed outside of document.ready
jQuery.validator.addMethod(checkemail, function(email) {
var email = $('#email').val();
$.post(user/checkemail, { email : email },
/remote
Jörn
On Wed, Oct 21, 2009 at 2:12 PM, Samuurai djbe...@gmail.com wrote:
Hi,
This is my first attempt at using addMethod and it's always returning
true, for some reason.
This is placed outside of document.ready
jQuery.validator.addMethod(checkemail, function(email
:
Take a look at the errorPlacement option, documented
here:http://docs.jquery.com/Plugins/Validation/validate#toptions
Jörn
On Thu, Oct 1, 2009 at 12:53 AM, Samuurai djbe...@gmail.com wrote:
Hi,
I have got some very rudimentary validation working with JQuery
validation, however
I'm doing :)
On Oct 1, 11:24 am, Samuurai djbe...@gmail.com wrote:
Thanks Jorn I'm looking at that, however I think I've devised another
method.
I need this code to be run on each offending field:
$('[for=name]').parents('.grid-26') // for=name is the selctor for
the label
a
for-attribute pointing to the associated input, otherwise the plugin
can't update it later on.
Jörn
On Thu, Oct 1, 2009 at 5:27 PM, Samuurai djbe...@gmail.com wrote:
I have just realised that you were the coder behind this -
My apologies..I didn't realise the flexibility of errorPlacement
Hi,
I have got some very rudimentary validation working with JQuery
validation, however, by default, it creates some label tags with the
error messages in them, right next to the input tags which have
errors.
How can I control where these error messages are displayed, as they're
inside the same
Hi,
This is my first little foray into JQuery, so far i'm impressed,
having had very little JS experience, I was able to create the result
I wanted very qucikly and easily!
However, I'm having one little niggle...
Here's my code:
[code]
$(document).ready(function(){
() on load (ie. put it somewhere in
$(document).ready(function(){}).
Make it a seperate function so you can avoid copy/pasting the whole thing
Jonathan
Samuurai wrote:
Hi,
This is my first little foray into JQuery, so far i'm impressed,
having had very little JS experience, I was able
...@tnt.be
wrote:
You'll have to run the whole function block within
$(#show_resolve).click() on load (ie. put it somewhere in
$(document).ready(function(){}).
Make it a seperate function so you can avoid copy/pasting the whole thing
Jonathan
Samuurai wrote:
Hi,
This is my first
15 matches
Mail list logo