摘要:
$obj = $('#obj'); $obj.after($obj.clone().val("")); $obj.remove(); $('#obj').attr('readonly', true); 阅读全文
摘要:
$arrs = [ 1 => '苹果', 4 => '梨子', 3 => '香蕉', 2 => '哈密瓜' ]; $arrs[0] = '草莓'; print_r($arrs);//结果Array ( [1] => 苹果 [4] => 梨子 [3] => 香蕉 [2] => 哈密瓜 [0] => 草 阅读全文
摘要:
public function exportExcel() { $data = [ ['name' => 'aa', 'telephone' => '133xxxx4851'], ['name' => 'bb', 'telephone' => '135xxxx5862'], ['name' => ' 阅读全文