tp3.2.3$.ajax cannot return data using $this->ajaxReturn()
xr
xr 2018-10-18 11:47:23
0
0
838

As mentioned in 3.2.3, the front-end uses $.ajax() in jquery

As long as $this->ajaxReturn(); is not used in the controller, the front-end can receive return data. For example, echo json_encode($data);exit;

But as long as the $this->ajaxReturn() function is used, the front end will execute error: function()

xr
xr

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template