On Fri, 29 May 2009, Gareth McCumskey wrote:

> Without going into the specifics I am looking for a way to use:
> 
> <?php echo link_to("Link Text", "#",
> array("onClick"=>"javascriptFunction()") ?>
> 
> in symfony without the page scrolling back up when the link is clicked. I
> did find that you can use "javascript:" to do this but symfony complains
> with this:
> 
> An internal URI must contain a module and an action (module/action)
> ("javascript:" given)., referer:


Since you're not really generating a link, then dont use the helper.


-- 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to