2
我想調用Window.open
函數上的Action。Window.open調用Cakephp中的動作
我有這對我的看法:
$this->Html->link(
$this->Html->image('icon-picture.png', array('alt' => 'fotos', 'class'=>'link-fotos', 'onClick' => "window.open('".$this->Html->url(array('controller' => 'Pedidos' ,'action'=>'exibeFotos'))."', 'Pagina', 'STATUS=NO, TOOLBAR=NO, LOCATION=NO, DIRECTORIES=NO, RESISABLE=NO, SCROLLBARS=YES, TOP=10, LEFT=10, WIDTH=770, HEIGHT=400')", 'id' => 'dialogFotos')),
array('escape' => false));
但結果是:
我不明白我在做什麼錯。句法?