Hello,
I tried link_to_remote to see the build in AJAX capabilities with rails for
the first time for me, I tried the following code and it worked:
<%= link_to_remote( "some link",
:update => "some_div",
:url =>{ :action => :someaction }) %>
OK, it has worked, but I have two questions here:
1- When moving between links the URL in the browser still the same (which is
the name of the controller), I expected that the name of the action must
appear as it used to: www.domainname.com/controller/action
2- How can I create some (Loading) div that appears while div is being
updated (something similar to Gmail - the red div with Loading word at the
top right of the page)
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060710/68f26da6/attachment.html