similar to: Rails - Ajax tutor position

Displaying 20 results from an estimated 30000 matches similar to: "Rails - Ajax tutor position"

2006 Apr 03
3
AJAX Insertion.Before
Can anyone point me to an example of how to use the Insertion.Before technique? I''ve just begun trying to use AJAX and worked through Curt''s "Ajax on Rails". The description in AWD of what this does is just what I need, there''s no example of how to use it, and I''m getting no joy using Google. Any help is tremendously appreciated. -------------- next
2006 Apr 03
11
View source after AJAX update?
Does anyone know how to view the new source in IE after an AJAX update? When I "view -> source" I get the original page source, not the page source as updated. Thanks in advance, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060403/e8d96b2e/attachment.html
2006 Jul 12
3
Ajax, the Back button, and Sweepers
I''m working on an app that''s basically forms and that makes fairly heavy use of Ajax. As a result of the Ajax usage, if the visitor uses the back button they get the page as it was originally loaded, not as they left it. I''ve looked at the Sweeper documentation and can not tell for sure that it''ll do what I want, which is to force an unconditional reload from
2006 Jun 19
10
Trying to delete from a unordered list using ajax
I have a controller method as such: def delete @category = Category.find_by_name(params[:name]) @element_id = @category.name Category.delete_all(["name = ?", @category.name]) end (For the purpose of this exercise, category names are unique) I have the corresponding delete.rjs file: if @element_id page.remove :id => @element_id page.visual_effect :highlight,
2006 Mar 17
1
MySQL-Front strangeness - help needed, esp. from newbies
Greetings to all, I''ve had two reports of strange behavior from MySQL-Front this week from folks new to RoR who are working through the IR tutorial. I''m digging into it and would very much appreciate hearing from anyone else that''s seeing this. Newbies are in an especially good position to help here, as it appears that the problem lies in a recent release of
2006 Apr 14
11
Whats the best Ajax way to update a textarea''s text?
I am looking for a way to update the text-value within a textarea from an Ajax render call inside of a controller. Is there a way to do this without rendering an the partial containing the textarea? Thanks, Andy -- Posted via http://www.ruby-forum.com/.
2006 Apr 03
3
Ready to call this a bug
I''ve been trying to get a handle on AJAX today and am ready to call "BUG!" I started with the code from Curt''s "AJAX on Rails". It used <ul="my_list"> and <li> and worked fine. Except I need a table instead of a list. So I did the simplest thing that I thought could possibly work. In the view, I changed the :position attribute from
2006 Apr 10
2
RJS newbie - need help with iterating / existence test
Greetings! I''m new to Ajax and am trying to get a basic app working as a vehicle for learning it. The app is an extension of the cookbook tutorial. My intent is to be able to add a list of ingredients for a recipe. The page to add ingredients uses Ajax. As ingredients are added to the page they''re displayed in a "green-bar" format like that used in the Depot
2006 Apr 08
1
How To ??? change class of DIV
I''m trying to replicate the "green-bar" effect used in the Depot app using Ajax. And I''m almost there ;-) I''m about to set off on the last stage and would appreciate any advice that would set me off in the right direction. On the page, each record is represented by a <div>. Each <div> has id = "item#{record.id}" with class = either
2006 Apr 25
1
asynchronous False and Ajax.Responders object (bug)
Hi all. In my apps I''m using Ajax Call synchronous, (both Ajax Request and Ajax Updater). There is bug in prototype (discused in mailing - list: here http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003488.html and here http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003497.html). trying to put data from server to my html properly, I need call
2006 Jul 14
4
Help with link_to_remote or javascript generator
Hi all, I''m a relative noob to rails so I apologize in advance for asking such a basic question. I am trying to do multiple AJAX calls using the link_to_remote helper or the JavaScript generator update_page. I have googled and read the docs for both, but can''t seem to figure out exactly what i need to do. Say I have the following html: <div
2006 Apr 19
2
How to use multiple buttons on the same form with AJAX?
Hi, We are trying to use multiple submit buttons in the same form to tie to different actions on the server side. For example: <input name="commit" type="submit" value="edit"> <input name="commit" type="submit" value="cancel"> <input name="commit" type="submit" value="test
2006 Nov 04
0
Using collection_select and ajax
(I posted this earlier but it doesn''t appear on the group, so I''m writing it again, If it appears twice, I apologize.) I have a drop-down box that allows the user to select a language. I want to use Ajax to render a filtered list of items based on the language selected. I don''t want the user to press a Submit button nor refresh the page, of course. I''m using
2006 Jun 29
0
Ajax Scaffold for a application started using win32-process module.
Hi, I have an RoR application(parent) which is use to kick off other RoR applications(ajax scaffold based). I use win32-process Open4.popen4() to start the RoR applications. Untill recently I was using normal scaffold feature of Rails, and recently I migrated to Ajax Scaffold; After moving on to Ajax scaffold, when I try to start a RoR from my parent RoR, the application do get started, when I
2006 Feb 02
1
What''s the javascript to submit an AJAX Form?
HI Everyone, How do I form the href on an anchor so I can create a link-style submit for an ajax form? In this snippet, the INPUT generated by #submit_tag works OK, but the anchor results in the AJAX replacing the whole page? Can I make the anchor/href submit the AJAX form as well? Thank you! I have this (list.rhtml): <%= form_remote_tag :url =>
2006 Mar 16
2
question about ajax/rjs and redirection
i don''t even know if this is possible, so I''ll just ask. say I have a remote form. the form data gets submitted to the backend via AJAX. if there is a validation error in the form, i handle that on the AJAX side. however, if the form validates, I''d like to redirect the browser to a different page. Will a redirect_to work with an AJAX call or do I have to handle that
2006 Mar 20
0
Re: Problem with AJAX not working on IE
I am running the simplest web2 demo from AWDWR (./example/index) on a slackware box running WEBrick on RadRails; with firefox and Konqueror (!) 3.4.2 anyway) everything fine; on laptop talking to my linux box, firefox does it instantaneously; but... IE DOES DO it, but takes a full 31 seconds!!! (The RadRails WEBrick console shows the POST immediately, but IE trundles for a full 31 seconds to
2005 Jul 31
0
Ajax.Updater / Effect.Fade Problems
I am writing a simple note function for my app and adding notes is fine, but when I go to delete a note, it will erase all the notes that are entered from being displayed on the page. I have narrowed the issue down to when I call the Ajax.Updater function. If I just make the note fade using the Effect.Fade method, it goes away fine, as soon as it hits the Ajax.Updaterfunction, all the notes
2006 Mar 21
1
Konqueror Ajax update
I had been comparing IE and Firefox Ajax performance, and since I have a couple of Unix boxes in my workshop, I threw Konqueror into the mix, and reported here earlier today (or yesterday) that Konqueror ( 3.4.3) could handle Ajax perfectly, at least as far as the simplest AWDWR Ajax example (./example/index) was concerned. It occurred to me to do a more grueling test. I took the
2014 Oct 31
1
Non Functioning Internal DNS - Samba4
?? Recently one of my Samba4 (4.2.0 Ver) Domain Controllers started acting up. Authentication against it would time out and fail, but until recently the internal DNS was still working. Now the internal DNS fails. If I use nslookup and set the server to it, then look up any hostname I get "connection timed out; no servers could be reached". This DC is my primary and has all FSMO roles. I