这是我用来通过 ajax 提交表单的代码。
<?$data = $this->Js->get('#form_emp')->serializeForm(
array(
'isForm' => true,
'inline' => true)
);?>
<?php echo $this->Js->submit('submit.png',
array(
'url' =>'/employees/update_details',
'update' => '#update_here',
'data'=>$data,
'async' => false,
'dataExpression'=>true,
'method' => 'POST'
));
echo $this->Form->end();
当我对操作发布数据进行调试时,显示为空。如何解决?