cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <>
Subject JavaScript Question
Date Wed, 06 Nov 2013 05:50:33 GMT

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

if ($':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 ($':checked')) {
        // do some stuff

The checkbox is set up like this:

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


*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
o: 303.746.7302
Advancing the way the world uses the

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message