Hi Guys,

I'm trying to do get this:

<a onclick="document.location = $('service')" href="#">Click</a>

By doing this:

<?php echo link_to('Click', '#', "onclick=document.location = 
$('service')") ?>

But actually I'm getting this:

<a onclick="document." location="$(&#039;service&#039;)" href="#">Click</a>

Any ideas?

TIA

-- 
Tom Haskins-Vaughan
Temple Street Media: Design and Development for the Web
[EMAIL PROTECTED] | www.templestreetmedia.com

--~--~---------~--~----~------------~-------~--~----~
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