I use requestAction with parameter return $this->requestAction (....,array('return');
request action in plugin . plugin render view has $js->submit('Save',array('updade'=>'#fsjkfsj');
but it dont show any javascript when i view source code. I tested with code $js->alert('ksldjflkjs'); but it dont , too
how make requestAction width JS Helper or it is impossible ?
in this case, I use $this->Js->writeBuffer() in file view.ctp of plugin . It’ll output javascript buffered, but dont in one place , it in bottom file view.cpt of requestAction.