I guess you have to escape that ID: jQuery interprets that as "element with id product_interest and an attribute named '0'".
Jörn On Wed, Dec 3, 2008 at 5:24 PM, luke adamis <[EMAIL PROTECTED]> wrote: > > Is there a reason for this to not work? > > other_product_interest: { > required: > "#product_interest[0]:checked" > }, > > product_interest[] is a list of checkboxes, if user picks 'other' , > #product_interest[0] then user must fill the text filed: > other_product_interest. > > Thanks, > Luke > >