[jQuery] Re: Conditional required fields

2009-05-01 Thread Thomas Allen
the individual sections were excluded. Thomas On Apr 30, 2:16 pm, Thomas Allen thomasmal...@gmail.com wrote: 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

[jQuery] Re: Conditional required fields

2009-04-30 Thread Thomas Allen
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.

[jQuery] [validate] Conditional required fields

2009-04-28 Thread Thomas Allen
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

[jQuery] Re: [validate] Conditional required fields

2009-04-28 Thread Thomas Allen
here:http://jquery.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 thomasmal...@gmail.com wrote: I have

[jQuery] Re: Conditional required fields

2009-04-28 Thread Thomas Allen
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 thomasmal...@gmail.com wrote: a custom method is used for the fields inside the Billing Address group What does this method do (or, better, what's it called so

[jQuery] Re: Do object events persist in cloning? I can't get this method to work.

2009-04-27 Thread Thomas Allen
Yep, that did it, thanks. I had never heard of this before. Thomas On Apr 27, 10:13 am, Scott Sauyet li...@sauyet.com wrote: Thomas Allen wrote: What I'm doing is creating a couple button objects and cloning them.     $(memberSections).prepend(toggler.clone());     $(youngerSections

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-16 Thread Thomas Allen
That was it. jQuery was being loaded just before /body, 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 thomasmal...@gmail.com

[jQuery] Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
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 body, not head. 1. http://www.asce.org/freemembership/ 2. http://content.asce.org/conferences/texasstudentdays/company_registration.html The

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
the validation plugin before you're including jQuery. The result is that, when validation attempts to enter itself into the jQuery namespace, jQuery is undefined, so it just dies within it's enclosure. On Apr 15, 4:30 pm, Thomas Allen thomasmal...@gmail.com wrote: These two pages do the exact same

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
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 the older jQuery version might fix it? On Apr 15, 4:44 pm, Thomas Allen thomasmal

[jQuery] Re: why i getting Error: form.ajaxSubmit is not a function

2009-04-09 Thread Thomas Allen
On Apr 9, 2:26 am, Hellofrom hellof...@gmail.com 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

[jQuery] Re: IE display issue

2009-04-09 Thread Thomas Allen
On Apr 9, 8:16 am, Tim t...@timandnoelle.com 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

[jQuery] Re: Is jquery safe ?

2009-04-09 Thread Thomas Allen
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 erdeveshmis...@gmail.com wrote: Hi, I am using the latest version of jquery. I want

[jQuery] Terrible print styles in the docs

2009-04-08 Thread Thomas Allen
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

[jQuery] Re: Terrible print styles in the docs

2009-04-08 Thread Thomas Allen
Sure, I'll do that. Thomas On Apr 8, 2:02 pm, Ralph Whitbeck ralph.whitb...@gmail.com 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, Thomas Allen thomasmal

[jQuery] A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Thomas Allen
Calendar List'); } else { $('.calendarInfo').hide(); $(this).html('Show Calendar List'); } }); ); }) (jQuery); Thanks, Thomas Allen

[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Thomas Allen
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 phigg...@gmail.com wrote:            .css({                'display': 'block',                'text-align': 'right',            })

[jQuery] The order of these conditions should not matter

2009-02-10 Thread Thomas Allen
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

[jQuery] Re: The order of these conditions should not matter

2009-02-10 Thread Thomas Allen
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 pm, Thomas Allen thomasmal...@gmail.com wrote: It works fine for the focus event. The purpose