Cakephp onclick() event for link
<?php echo $html->link('Buy It',array('controller' => 'controllername', 'action' => 'functionname',$param), array('onclick' =>"return getnumber()",'escape' => false)); ?>
<?php echo $html->link('Buy It',array('controller' => 'controllername', 'action' => 'functionname',$param), array('onclick' =>"return getnumber()",'escape' => false)); ?>
0 comments:
Post a Comment