Hi,

Does anyone know why this checkbox of mine always returns false?

if ($isCustomizedIops.is(':checked')) {
    // do some stuff
}

That code is part of an event handler for a combobox (when the combobox
changes to a certain state, I want to see if the checkbox that is revealed
is in the checked state):

args.$select.change(function() {
    var $isCustomizedIops = $form.find('.form-item[rel=isCustomizedIops]');

    if ($isCustomizedIops.is(':checked')) {
        // do some stuff
    }
}

The checkbox is set up like this:

                                    isCustomizedIops: {
                                        label: 'label.custom.disk.iops',
                                        docID:
'helpDiskOfferingCustomDiskIops',
                                        isBoolean: true,
                                        isReverse: true,
                                        isChecked: false
                                    },

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to