我将此数组用作复选框:
array(
\'name\' => __(\'Latest Product\',\'\'),
\'desc\' => __(\'Select if you want to display latest product\',\'\'),
\'id\' => $prefix . \'checkbox\',
\'type\' => \'checkbox\',
\'std\' => \'\'
)
我想为添加属性onclick="chk(electronics, this.checked);"
关于这个。我该怎么做?