Philip Hallstrom wrote in post #979207:
> Not sure I understand as what you ask for below isn't an anchor... ??
>
> But maybe what you want is...
>
> link_to_function '', 'add_asset_row()', :class => 'add_child'
>
> Or if you really want a remote link just replace that '#' with '' and it
> should give you an empty link…

Using ‘’ with link_to forces it to use the href as the body.  But, 
switching to link_to_function using ‘’ got rid of the body.

Thanks for the tip!

Now I need to figure out how to get it working with jQuery since I’m not 
using Prototype...

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to