ICheckBox : add attribute to allow to select checkbox thanks its attribute
with the js select_checkbox_attribute
This commit is contained in:
parent
4fd8bcb2d3
commit
66d68954db
3 changed files with 54 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class ICheckBox extends HtmlInput
|
|||
$check=( $this->selected==true )?"checked":"unchecked";
|
||||
$r='<input type="CHECKBOX" id="'.$this->id.'" name="'.$this->name.'"'.' value="'.$this->value.'"';
|
||||
$r.=" $check";
|
||||
$r.=$this->get_node_attribute();
|
||||
$r.=' '.$this->disabled." ".$this->javascript.'>';
|
||||
|
||||
$r=$r." $this->label";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue