I have an old Rails application that I'd previously upgraded to Rails 3.1
with a lot of legacy features left on; now I want to switch to using jQuery
instead of Prototype, and switch to using the asset pipeline.
I'm trying to tackle the first of those; no idea if that's wise, maybe I
should start
Hi,
I am trying to use ajax to update a page by using the link_to command.
When I click the link_to commad my ajax request is not being process.
The view is a list of message. Once I click on a message link_to
command, I want it to update the message .
When I click on the link_to command, I get t
what i meant is on clicking the link below in short
<%=link_to_remote image_tag("/images/
cricinfoLogo.gif"),{:update
> => "changing_layout",:url => { :controller => 'home',:action =>
> 'change_layout',:value => 'registration'},:method =>
> :get},:id=>'registr' %>
it should replace the div
On 20 July 2010 09:44, Tony Augustine wrote:
> Hi i created an application which using ajax method, but
> unfortunately ma application is not working this is ma view page in
> which i used ajax. here on clickint the links it should replace the
> div "changing_layout"
> on the
Hi i created an application which using ajax method, but
unfortunately ma application is not working this is ma view page in
which i used ajax. here on clickint the links it should replace the
div "changing_layout"
on the basis of values passed to the controller but for me i
"try {
Element.hide("add_answer_link_for_post_-613772418");
Element.update("new_answer_form_for_post_-613772418", "\n\n
New Answer\n \n \n\n\n\n");
} catch (e) { alert('RJS error:\n\n' + e.toString());
alert('Element.hide(\"add_answer_link_for_post_-613772418\");
\nElement.update(\"new_answer_for
hi friends
my rhtml page is:
Post Blog
<%= form_remote_tag(:update => "my_list",
:url => { :action => :preview_blog },
:position => "top" ) %>
<%= link_to_remote(image_tag("../images/post_blog.gif", :border => 0),
:update => "save",:u
7 matches
Mail list logo