[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread kevin.mccormick
Exactly, thanks James. For some reason I found tutorial code that had $ ("inp...@name=product_id]").click(); instead of $("input [name=product_id]").click(); and so this broke it... I was close. THANK YOU On Sep 30, 1:28 pm, James wrote: > With your HTML, you can do it two simple ways: > > By cl

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread kevin.mccormick
Thanks for the reply Robert. :) Because the "product_id" represents grouping of radio boxes, I wanted a single click event on the product_id, then handle the display of the hidden checkboxes accordingly. As I thought, I had the name selector wrong. Instead of using this: $("product_id").click()

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
27;).is(':checked'); > > As you can see, that's almost the same as your previous attempt; the only > thing missing was the "return". > > -Mike > > On Tue, Sep 22, 2009 at 12:58 PM, kevin.mccormick > wrote: > > > > > Wow I fi

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
Wow I finally got it... updated code here: referrerother: { required: function(element){ if ($('#chkStatus5').is(':checked')){ return true;

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
I'm getting close to finding a way to give a boolean result if the "other" checkbox is selected (id chkStatus5)... still not working though referrerother: { required: function(element){ $('#referrer-chkStatu

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
Im trying to implement this and Im not sure if there is a syntax difference in returning a value of a checkbox vs a dropdown menu. Is (return $("#referrer").val() == 'Other') the proper way to test the value of a checkbox? It certainly works for dropdown menus.. Here is my new code, mimicking the

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
oohh that is just plain wonderful. thank you very much :) On Sep 22, 9:56 am, Loony2nz wrote: > Check out this example: > > http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validat... > > On Sep 22, 9:35 am, ripcurlksm wrote: > > > I have a "How did you hear about us?" with a serie