Hi
> <button id="enabledBtn" type="checkbox" label="disabled" checked="false"
> accesskey="E"
>
> oncommand="this.label=this.checked?'enabled':'disabled';foxyproxy.setEnabled(this.checked);"/>
> button[checked="true"] {
> color: red;
> font-weight: bold;
> }
notice your css matches the attribute and your javascript
matches the property. they may not (or are apparently not)
in sync.
could you try a
<button label="what??"
oncommand="alert(document.getElementById('enabledBtn').getAttribute('checked'))"/>
too see if I'm right ?
also notice the 'tristatebutton' is not completely done yet
https://bugzilla.mozilla.org/show_bug.cgi?id=119628
so you may have found an open bug
$2c,
*pike
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners