thanx for your help!
On 14 Jan., 20:46, Kyle Decot <[email protected]> wrote:
> I fixed the problem by changing your double quotes around the word
> "test" to be single quotes. Your code should look like:
>
> <?php echo $html->link($article['article']['name'], '/articles/view/'.
> $article['article']['id'], array('onmouseover' => 'alert(\'test
> \';)')); ?>
>
> On Jan 14, 2:40 pm, nomex <[email protected]> wrote:
>
> > Hey, maybe a stupid question, but i'm stuck.
>
> > i want to create a link with this output:
>
> > a onmouseout="mymouseout()" onmouseover="mymouseover(0)"
> > href="...">Marker One</a>
>
> > i tried this with this:
>
> > <?php echo $html->link($article['article']['name'], '/articles/view/'.
> > $article['article']['id'], array('onmouseover' => 'alert(\"test\")'));?
>
> > but the function is always in " ".
> > how can i get a link with a working call to a javascript function!?
>
> > Thanks for your help!
>
> > greetings!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---