cakephp3 Print link with link to JavaScript function 27th May 2016 admin Leave a comment echo $this->Html->link('test clear','javascript:cleartable()');