If I am getting it right, You should do the following:
[$html->link code]
<?php echo $html->link($html->image("edit.png", array("alt" =>
"edit")), $row[$class]['id']),
array('class' => 'edit', "title" => "edit", 'onclick' => "toggleId('<?
php echo $zeile?>'); return false;"), false); ?>
[code]
On 19 Март, 00:39, sebb86 <[email protected]> wrote:
> Hello,
> i want to isert a mixed Code (javascript and php) into my $html->link,
> but i don't know how to do this.
>
> [javascript with php code]
> "javascript:void(0)" onclick="toggleId('<?php echo $zeile?>');"
> [end code]
>
> [$html->link code]
> <?php echo $html->link($html->image("edit.png", array("alt" =>
> "edit")), ---think i have to insert here--- , $row[$class]['id']),
> array('class' => 'edit', "title" => "edit"), false); ?>
> [code]
>
> Greetings.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
To unsubscribe from this group, send email to
cake-php+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.