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它關係到控制器的索引行爲。但我希望它採取不同的行動。我怎麼做的。 感謝