similar to: Ajax, buttons, and firefox

Displaying 20 results from an estimated 2000 matches similar to: "Ajax, buttons, and firefox"

2007 Jun 25
2
passing parameters from rhtml to rjs
I need some parameters to go from my rhtml to my rjs. Anyone know how to do this? -- Amos King A. King Software Development and Consulting, L.C. http://dirtyInformation.com -- Looking for something to do? Visit http://ImThere.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2009 Apr 22
15
Why RSpec?
I like Shoulda. Sometimes I like plain old Test::Unit. Cucumber gives me a different thought process. I''d just like to hear some thoughts on why RSpec? What does it buy me that I can''t get with Shoulda? I just can''t seem to think in RSpec. Where is there a good example of RSpec tests that will help me grasp the right path? Thanks! -- Amos King
2008 May 09
3
Hiring Ruby on Rails Programmer
Hi there, My company is looking for a full-time, in-house rails programmer to start immediately. If you are interested please contact me!!! Thanks! Neda jobs-FUiS5veSkuU@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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
2006 May 30
0
Ajax.Updater problem in IE
Hello All, Anybody can give me an advice why following code works in Firefox + Safari but not in IE? function load_mails(div_id){ $(div_id).toggle(); //hide or show var pars = ''id='' + div_id; var myAjax = new Ajax.Updater( div_id, ''../library/partials/load_messages.aspx'', { method: ''get'', parameters:
2007 May 17
8
Model: self is not child's parent
Assume a model Parent and another model Child. Child belongs_to Parent and Parent has_many Children. The following fails: @ p = Parent.find(:first) assert p.equal?(p.children[0].parent) @ It seems odd to me that I and my child''s parent are not the same object. In fact, this is royally screwing me up. Can anyone tell me why this is or point me at a relevant discussion, blog posting,
2010 Jul 18
0
button_to_remote using jQuery and Rails 3
Is this possible given the button_to_remote function seems to be defined as a Prototype helper? I''ve replaced my /public/javascripts/ rails.js with the jQuery driver. When I try to use button_to_remote I get the error undefined method ''button_to_remote'' for #<#<Class:0x000001078d7090>:0x0000010789ad20> If this is not possible using button_to_remote, how can
2007 Mar 23
11
Is there such a thing as button_to_remote?
I''ve changed my destructive link_to statements in favor of button_to. But what if I want to make an .rjs call with that button? Seems like we need something equivalent to link_to_remote, so that the button can make an ajax request instead submitting the form. Or am I missing the point entirely? Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message
2009 Oct 06
0
[PATCH server] new host networking wui
Frontend and backend changes needed to implement http://ovirt.org/page/Networking_UX#Option_3 --- src/app/controllers/host_controller.rb | 38 ++- src/app/services/host_service.rb | 35 ++ src/app/views/host/edit_network.rhtml | 593 ++++++++++++++++++++++++++++---- src/public/stylesheets/components.css | 76 ++++ 4 files changed, 676 insertions(+), 66 deletions(-) diff --git
2009 Sep 26
3
how to pass value to method in controller
how to pass value to method in controller using button_to_remote button_to_remote ''check avaliability'', :url => { :action => ''check_for_unique_login'', :login => @user.login} above code is not working. -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
4
Instance variables in Javascript param
How can I make this work ? <a href="#" onclick="new Effect.Fade(@div_id)"></a> @div_id is an instance variable ? TIA -- Posted via http://www.ruby-forum.com/.
2007 Feb 27
2
Dynamically add radio buttons to forms?
Good afternoon all I''m trying to implement a form that dynamically inserts radio buttons into a form. The user selects options from a drop-down menu. I use observe_field to watch for a change and call back to render the appropriate partial tha contains the radio options. All works nicely but I''m tripped up on one thing: When rendering a form using form_for how do I link those
2010 Jun 18
1
how to pass params to button_to_remote ?
Hi folks, I have a form that I populate, and then submit with button_to_remote, but I would like to have all my fileds that I populated passed as parameters (like the params hash) with to my controller. How would you do that ? Reagrds -- 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
2008 Nov 07
1
RJS show as 'try...' in AJAX update
Hi guys, I am trying to display Javascript code after an Ajax call. It is executing the JS code, but it''s also displaying it. It shows as: try { alert(...); } catch .. ... my controller code: render :update do |page| page.alert message_var end my Javascript code: new Ajax.Updater("div_id", my_controller_url, { asynchronous: true, evalScripts: true,
2009 Jul 30
1
Rails Plugin for swfobject? - swf_fu
Hi all, I''ve been using a plugin called swf_fu which seemed fairly easy to implement for adding flash content to my rails app. However, I''m trying to pass a variable to my flash through rails and have the flash content pick it up. The variable is already retrieved in an earlier call to the database so I don''t believe it''s any type of authentication string
2009 Feb 09
0
submit_to_remote change from 2.1 to 2.2 now gives wrong number of arguments
Hi, this snippet <%= submit_to_remote(''create_button'', ''Add Phone'', :submit => "phone_form", :url => send( "#{@phonable_type.to_s.downcase.singularize}_phones_path", @phonable_id),
2006 Feb 05
0
Using javascript with update_element_function
Hi, I am using evaluate_remote_response and update_element_function, to update elements with blocks of content, something like this: <% update_element_function("div_id", :binding => binding) do %> <div id="newdiv_id"> This is a new div! </div> <%= draggable_element(''newdiv_id'') %> <% end %> That will update the
2008 Mar 24
2
link_to_remote and restful routes/urls
is there a way to access a restful resource with mike''s new link_to_remote helper? something like: <%= link_to_remote h(user.name), :update => "div_id", :url => user_url(user) %> of course, that doesn''t work. i have also been trying things like: :url => controller.asset_host +
2014 Oct 10
5
[3.16 stable PATCH 0/2] virtio-rng: two backports to fix stuck
I received two mails about faile to apply patches to 3.16-stable tree: FAILED: patch "[PATCH] virtio-rng: skip reading when we start to remove the device" failed to apply to 3.16-stable tree FAILED: patch "[PATCH] virtio-rng: fix stuck of hot-unplugging busy device" failed to apply to 3.16-stable tree Amit already backported two patches for 3.16-stable, then cherry-pick of my
2014 Oct 10
5
[3.16 stable PATCH 0/2] virtio-rng: two backports to fix stuck
I received two mails about faile to apply patches to 3.16-stable tree: FAILED: patch "[PATCH] virtio-rng: skip reading when we start to remove the device" failed to apply to 3.16-stable tree FAILED: patch "[PATCH] virtio-rng: fix stuck of hot-unplugging busy device" failed to apply to 3.16-stable tree Amit already backported two patches for 3.16-stable, then cherry-pick of my
2007 Jan 29
8
Cluster 3 mongrel servers residing in different machines (Windows)
Hi All, Machine A: has Apache 2.2 doing load balancing, also has DB and 8 mongrel processes I''m using mongrel_cluster . Now, I want to run Mongrels on Machine''s B and C (ie Cluster 3 Mongrels in three different machines). Is this possible? If possible then, please describe me the steps required (I''m using windows machines, and already losdt one week :-( ) Best