t.val());
}
}
So that the field validators would not be added back when the
individual sections were excluded.
Thomas
On Apr 30, 2:16 pm, Thomas Allen wrote:
> Thanks. I ended up using the classes add/remove style, and it works
> well. However, a method that should be called on every pa
Thanks. I ended up using the classes add/remove style, and it works
well. However, a method that should be called on every page load is
not working properly. I am sure that it's being called (tested with
the console), but the removeValidators() method doesn't seem to work
properly.
http://content
And I'm not going out of my way to change the subject...I'm not sure
what's going on there.
Thomas
On Apr 28, 2:40 pm, Thomas Allen wrote:
> > a custom method is used for the fields inside the Billing Address group
>
> What does this method do (or, better, what&
bassistance.de/validate/demo/marketo/step2.htm
>
> Instead of adding and removing classes, a custom method is used for
> the fields inside the Billing Address group. Whatever works for you...
>
> Jörn
>
> On Tue, Apr 28, 2009 at 7:20 PM, Thomas Allen wrote:
>
> > I have
I have a form with a flexible number of field sets on my form. I think
it'll be easier to understand if you just fiddle around a bit here:
http://content.constructioninst.org/corporate_renewal.html
I want to make a handful of fields be required in each field set, but
only fields in visible field
Yep, that did it, thanks. I had never heard of this before.
Thomas
On Apr 27, 10:13 am, Scott Sauyet wrote:
> Thomas Allen wrote:
> > What I'm doing is creating a couple button objects and cloning them.
> > $(memberSections).prepend(toggler.clone());
> >
What I'm doing is creating a couple button objects and cloning them.
Here is my code:
$(document).ready(function() {
$.fn.addOne = function() {
return this; // This will do stuff once I get it it to be
called
}
$.fn.removeOne = function() {
return this; // as will thi
That was it. jQuery was being loaded just before , so it was
overwriting the jQuery object loaded earlier (via the custom page). By
moving this to the top and deleting the extra script reference, I
fixed the problem. Thanks!
Thomas
On Apr 16, 12:37 am, Thomas Allen wrote:
> This is possi
nus.js
>
> So, for one reason or another, you're including 2 different versions
> of jQuery on the same page. I'm not sure if that's causing the issue,
> but I can't imagine it's useful or efficient. I'd check into that as a
> first-line of defense. Removing
ry
> namespace, jQuery is "undefined", so it just dies within it's
> enclosure.
>
> On Apr 15, 4:30 pm, Thomas Allen wrote:
>
> > These two pages do the exact same thing: Apply some basic validation
> > rules to a form. The only difference is that the fi
These two pages do the exact same thing: Apply some basic validation
rules to a form. The only difference is that the first one includes
the scripts in , not .
1. http://www.asce.org/freemembership/
2.
http://content.asce.org/conferences/texasstudentdays/company_registration.html
The second one
Oh, it gives you a virus...the virus of a clean API for the DOM.
Some people in comp.lang.javascript would argue that jQuery itself is
a virus, but they're a bit off-kilter.
Thomas
On Apr 9, 6:22 am, Devesh wrote:
> Hi,
>
> I am using the latest version of jquery. I want to confirm that is
> t
On Apr 9, 8:16 am, Tim wrote:
> i am setting reducing a tbody height when the user clicks a row and
> then showing content below the table. in IE7 when i show() or set
> display to block for the content below the table, IE resets the tbody
> height to the original size such that it overlaps my c
On Apr 9, 2:26 am, Hellofrom wrote:
> I try to use Form plug in with Validaiton plug in
> i get the following error if firefox
> Error: form.ajaxSubmit is not a function
>
> can someone help me please
I'd like to. Could you please post your code that produces this error?
Thomas
Sure, I'll do that.
Thomas
On Apr 8, 2:02 pm, Ralph Whitbeck wrote:
> Thomas,
>
> You could submit a bug and if you want to help submit a patch to the bug and
> I am sure the team will consider it.
>
> Thanks,
> Ralph
>
> On Wed, Apr 8, 2009 at 1:50 PM, Th
Printed documentation includes many superfluous elements and cuts off
the right side of the page in certain browsers. I know CSS like the
back of my hand; is there something I can do to correct this? I'd be
happy to.
http://docs.jquery.com/skins/common/commonPrint.css - Missing quite a
bit
Thoma
Oh, I thought that was a recommended practice to reduce bugs when
changing the number of items in an object. Thanks!
Thomas
On Mar 9, 9:58 am, pete higgins wrote:
> > .css({
> > 'display': 'block',
> > 'text-align': 'right',
> > })
>
> stray c
know, this is
grimy, but it works.
$('.calendarInfo').show();
$(this).html('Hide Calendar List');
} else {
$('.calendarInfo').hide();
$(this).html('Show Calendar List');
}
});
);
}) (jQuery);
Thanks,
Thomas Allen
27;. even if the element is not
> found an object will be returned. You have to check for .length or size
> ()
>
> if($("#pay_cc:checked").length) showCC();
> if($("#pay_check:checked").length) showCheck();
>
> cheers,
> - ricardo
>
> On Feb 10, 5:29 p
p://jsbin.com/efeje/edit
>
> - ricardo
>
> On Feb 10, 3:07 pm, Thomas Allen wrote:
>
> > Here's my JS:http://pastebin.com/m6091a365
> > And the accompanying HTML:http://pastebin.com/m30c57ea6
>
> > For some reason, the if($("pay_..." condition tha
y are a part of the same
radio group (as seen in the HTML). The showCC and showCheck functions
work perfectly in the focus() context (they switch normally).
The reason that I'm setting this up this way is so that a user will
only see the payment region that they need to see.
Thanks,
Thomas Allen
21 matches
Mail list logo