selectAll:function(controller){ $("input[name='cartids[]']").attr({checked:($(controller).attr('checked') == 'checked' ? 'checked' : false)}); checkoutOne.showSubmit(controller.form, 'cartids[]')