[Seasar-user:10969] disable a button

=?GB2312?B?wO7A1g==?= [E-MAIL ADDRESS DELETED]
2007年 10月 12日 (金) 11:04:01 JST


Can i disable a button dynamically ?

Where's the problem with my code?

    public String getSelectAllDisabled() {
        if (viewItems == null || viewItems.length == 0) {
            return "disabled";
        } else {
            return "false";
        }
    }

<input id="selectAll" type="button" value="¤¹¤Ù¤Æßx’k" class="button large"
style=""  disabled=""/>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071012/da0a9558/attachment.html 


Seasar-user メーリングリストの案内