search for: updatedivs

Displaying 6 results from an estimated 6 matches for "updatedivs".

Did you mean: updatediv
2005 Dec 24
2
Ajax Help: Multiple Updates - ?
...gt; eval(request.responseText) instead of :update" I''ve attempted the following test code: # in the view <select name="plist", class="required", onchange="<%= remote_function(:complete => evaluate_remote_response, :url => { :action => :updateDivs }) %>" > <option>Select a Person</option> <option>Select a Dog</option> <option>Select a Frog</option> </select> <br> <div id="detail1"> </div> <br> <div id="detail2"> </div> <br&gt...
2006 Jun 16
10
Issue with caching of .PNG files in IE..
I''m running a Rails application with WEBrick server. We are displaying an Image from the server to the Client (Browser). First time on the browser everything looks fine, upon clicking the link, it contacts the server and displays in IE brwoser the image that was stored on the server. But in case if the image gets changed on the server(File Name being the same), then even though i
2006 Jun 19
1
AJAX - Image output to an IMG tag ?
Hi, I''m using the "link_to_remote" AJAX function call from my "view", and what i want is after i get the results from the function call, I want to update the result directly into to an image ie. <IMG> tag, how to do this.?? ie. if we want to update the result into a ''div'' element we do like this, which works fine.. link_to_remote(:update
2006 Apr 18
7
[Prototype] evalScripts not working for me
I think I am experiencing the variable scope problem with evalScripts. I have this block of code being returned from an Ajax.Updater call, as shown by FireBug or one of those other Firefox plugins. I have tried to boil it down to the minimum code. <script type="text/javascript"> test = function() { alert("test"); }; </script> <table
2005 Jun 10
1
Submitting an ajax form via a select
I''m trying to submit an ajax form via an onchange method in a select menu, but I can''t seem to do it. The problem holding me up, is that I can''t figure out how to set the ID of the form when using a form_remote_tag (I need to use the ID of the form as the forms on the page are variable, so I can''t reference it in the form array). Setting :id =>
2006 Mar 08
6
Difficulty with params hash and submit_to_remote
Hi, Is there any trick to initializing the params hash via submit_to_remote()? I have a form with two submit methods - the regular, non-AJAX method, and the AJAX method. The regular method works like a champ. The submit_to_remote invokes the correct controller, but the params hash is empty except for the values for :action and :controller. I''d show my code, but it''s on