js->submit() available options?

binarynpixelbinarynpixel subscriber Posts: 40 Member
Hello guys, i've searched the whole web for an overview of the options array of that ajax (or jshelper) submit button. CODE $this->Js->submit('speichern', array('update' => '#divelement', 'url' => array('controller' => 'controller', 'action' => 'action'))); I need to call a javascript function instead of putting the return-string into that named #divelement. The docs et cetera dont tell me what options are available. Does anybody have an idea how to solve that? Thanks!
Sign In or Register to comment.