Hello
I have a problem with Ajax.
I have some method who returns link_to some_path, :anchor => "anchor"
and replace content area on page.

At start a have this:

browser path => /help

<h1>Help</h1>
<%= link_to "Downloads", download_page_path, :remote => true %>

I click link and got this:

browser path => /help

<h1>Download</h1>
<a href="/download#anchor">link...</a>

But I want this:

browser path => /help

<h1>Download</h1>
<a href="/help#anchor">link...</a> or <a href="#anchor">link...</a>


How can I do it?

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to