jQuery 全选效果实现代码_jquery
程序员文章站
2022-05-04 22:34:06
...
多选效果如下图
局部多选如下图
if (isset($this->user)) {
echo "
}
elseif (isset($this->role)) {
echo "
}
else {
echo "
}
?>
代码如下:
复制代码 代码如下:
Item Name | UM | Ordered Qty | Received Qty | Quantity | Remark | |
---|---|---|---|---|---|---|
\n"; | " . $item["item_name"] . " | \n";" . $item["unit_name"] . " | \n";" . $item["quantity"] . " | \n";" . $item["received_qty"] . " | \n";\n"; | "; |
局部多选如下图
代码
复制代码 代码如下:
if (isset($this->user)) {
echo "
Privilege Setting For User " . $this->user ."
";}
elseif (isset($this->role)) {
echo "
Privilege Setting For Role " . $this->role . "
";}
else {
echo "
Privilege Setting
";}
?>
下一篇: js阻止冒泡和默认事件(默认行为)详解