0
我用这JS助手链接,不同的动作
echo $this->Js->submit("Send", array(
'before'=>$this->Js->get('#sending')->effect('fadeIn'),
'success'=>$this->Js->get('#sending')->effect('fadeOut'),
'update'=>'#success'
));
这是index.ctp和的onclick它关系到控制器的索引行为。但我希望它采取不同的行动。我怎么做的。 感谢