时间:2021-07-01 10:21:17 帮助过:5人阅读
无标题文档
0, 'message' => '', 'content' => '', 'goods_id' => ''); $upload_img = $_REQUEST['upload_img']; $result['content'] = $upload_img; die($json->encode($result)); } ?>
function fileSubmit() { var upload_img = document.getElementById("publisher_file").value; Ajax.call('json.php', 'step=update_img&upload_img='+upload_img, changeImageResponse, 'GET', 'JSON'); } function changeImageResponse(result) { alert(result.content.content); }