Either will work.
Thanks,
Gazza

On May 31, 2010 2:00 PM, "Lance Edgar" <[email protected]> wrote:

On 5/31/2010 1:43 PM, gazza wrote:
>
> hello,
>
>    ${h.link_to('          View
> Orders',url(contr...
Not sure what the best way is, but the following both work:

${h.link_to('Products', "javascript:history.go(-1);")}

${h.link_to('Products', onclick="history.go(-1); return false;")}

Lance



-- 
You received this message because you are subscribed to the Google Groups
"pylons-discuss" gro...

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

Reply via email to