| |
Low Pro |
On 25.1.2008, at 9.20, KJoyner wrote: > I have added the following that now works, except for the reload which > var AJ = --
> does not appear to be working as I intended. For completeness, I have
> included my updated delete method.
> {
> encode_authenticity_token:function( token )
> {
> return encodeURIComponent( $(token).value )
can replace $(token).value with $F(token) (see http://prototypejs.org/api/utility/dollar-f)
> [ 0 ] )
). If you give the input field an id, it can be reduced to $
('authenticity_token').
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://www.railsecommerce.com
http://odesign.fi