search for: partail

Displaying 2 results from an estimated 2 matches for "partail".

Did you mean: partain
2006 Jul 13
3
not quite getting ajax to work..
...ich contains a form that has a button like this: <%= submit_to_remote("confirm","Confirm Entry", :url => {:action => ''test''}, :update => ''confirmation'') %> what i would like to do in test.rhtml is feed this info into another partail.. but i am getting the following problem.. when i try to access @data inside test.rhtml, i get NIL... <%= @data.inspect %> #=> gives me NIL but this: <%= @params[:newOpp].inspect %> #=> gives me a dump of the form params... if i do this: <% @data =params[:newOpp]%>...
2013 Mar 06
2
Refresh a partial onClick using ajax call in rails 3.x
Hi All, I want to refresh a partial onClick, onClick i am making ajax call and getting the data but i am unable to refresh the partial. here is the code IN views: home.html.erb $(document).ready(function() { var currentCellText; $(".inline").click(function() { currentCellText = $(this).text(); $.ajax({ type: ''GET'', dataType: "json",