[jQuery] Re: Plugin Question

2009-02-06 Thread Chris
On Feb 6, 3:46 am, Jörn Zaefferer wrote: > Found it: When you specify rules in the validate-call, the name is > referenced, not the id. Replacing "select" with "field_3" (or renaming > the latter) should fix it. > > Jörn Perfect! Thanks.

[jQuery] Re: Plugin Question

2009-02-06 Thread Jörn Zaefferer
Found it: When you specify rules in the validate-call, the name is referenced, not the id. Replacing "select" with "field_3" (or renaming the latter) should fix it. Jörn On Fri, Feb 6, 2009 at 12:20 AM, Chris wrote: > > > > On Feb 5, 6:17 pm, Jörn Zaefferer > wrote: >> I'm sorry. I confused th

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
On Feb 5, 6:17 pm, Jörn Zaefferer wrote: > I'm sorry. I confused the (hidden) select and the text input. Please > revert that last change and lets try again. > > Jörn It's reverted.

[jQuery] Re: Plugin Question

2009-02-05 Thread Jörn Zaefferer
I'm sorry. I confused the (hidden) select and the text input. Please revert that last change and lets try again. Jörn On Fri, Feb 6, 2009 at 12:02 AM, Chris wrote: > > On Feb 5, 5:50 pm, Jörn Zaefferer > wrote: >> You've got class="required" on the text-input-element. The validation >> picks t

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
On Feb 5, 5:50 pm, Jörn Zaefferer wrote: > You've got class="required" on the text-input-element. The validation > picks that up as a validation rule. Removing it should give you the > correct rule instead. > > Could be considered a bug, where the option-rule should override the > class rule, ins

[jQuery] Re: Plugin Question

2009-02-05 Thread Jörn Zaefferer
You've got class="required" on the text-input-element. The validation picks that up as a validation rule. Removing it should give you the correct rule instead. Could be considered a bug, where the option-rule should override the class rule, instead of the current behaviour. Jörn On Thu, Feb 5,

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
On Feb 5, 4:34 pm, Jörn Zaefferer wrote: > Remove the required-class. That overrides the dependency-required-rule. > > Jörn Sir, >From the markup above (Google Group) the only thing I include on the radio button is the validate="required:true". Should I remove that? I tried to remove it, and

[jQuery] Re: Plugin Question

2009-02-05 Thread Jörn Zaefferer
Remove the required-class. That overrides the dependency-required-rule. Jörn On Thu, Feb 5, 2009 at 9:58 PM, Chris wrote: > > Thanks James. Now the page doesn't break, but my validation rules > still don't hold.

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
Thanks James. Now the page doesn't break, but my validation rules still don't hold.

[jQuery] Re: Plugin Question

2009-02-05 Thread James
var r = jQuery("#rsvp").validate({ rules: { select: { required: "#accept:checked" } }, < RIGHT HERE submitHandler: function(form) {

[jQuery] Re: Plugin Question

2007-09-25 Thread Brandon Aaron
Inside the plugin this is actually the jQuery object that the plugin was called on. (function($) { $.fn.plugin = function() { console.log(this); // the jQuery collection/object }; })(jQuery); -- Brandon Aaron On 9/25/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > Ok, lets say

[jQuery] Re: Plugin question

2007-06-18 Thread Alexandre Plennevaux
Yes, and nothing wrong comes up as "errors". -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Alsup Sent: lundi 18 juin 2007 12:15 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Plugin question > Good point is... it so

[jQuery] Re: Plugin question

2007-06-18 Thread Mike Alsup
Good point is... it sounds like i'm going to learn something again today :) Me too because your code looks fine to me! Did you try stepping through the code with Firebug? Mike