similar to: remote tags for form elements (AJAX)

Displaying 20 results from an estimated 7000 matches similar to: "remote tags for form elements (AJAX)"

2006 May 12
4
POST vs GET
I read in the Agile Rails book that I should avoid GETs for destructive actions. I notice that on 37signals'' Backpack web site, deleting an item in a list is accomplished with a simple click on a picture of a trash can. Is this a violation of the POST/GET rule noted above, or is there some way to make a clickable link send a POST? Ben
2006 Feb 21
3
AJAX sub-list
In the new / edit screen for an "item" I''d like to be able to add/remove "sub-items" on pressing an add button below the "sub-items" a bit of a form shows up with the html looking something like: <div id="uniqueid"> <!-- label etc here --> <input type="text" id="sub_items[]" name="sub_items[]"
2005 Dec 31
9
RJS Templates not conducting callbacks
I''ve run across a weird problem with RJS that I''m trying to figure out: I have an application that was running 0.13.1 that I recently upgraded to Rails 1.0. I wanted to use RJS templates, so I installed the plugin and updated my prototype javascript file via ''rake update_prototype.'' I attempted to test the templates out via the following code, but the AJAX
2009 Aug 04
6
form_for
hi everybody... I have a form_for in that, onclicking submit button i am calling a javascript for validation.If validation fails that form_for doesnt do anything.But even the validation fails it goes to the controller and action. here my code: <%form_for :promotion_code,
2005 May 06
17
FYI: watch out for google's web accelerator - can empty your app of data
Hi All, A co-worker passed this info on to me: http://37signals.com/svn/archives2/google_web_accelerator_hey_not_so_fast_an_alert_for_web_app_designers.php The Skinny: Google has a "Web Accelerator" that pre-caches pages by following url''s. If you have any plain/simple URL''s that don''t take paramaters (like what often happens in rails apps), it will try to
2005 Sep 02
3
Ajax.InPlaceEditor
Hello, I have just subscribed to the list. I am having problems with the Ajax.InPlaceEditor. I am getting different results when I use Firefox and IE. The problem is: On IE, when I click submit in the InPlaceEditor form, the form posts to itself (my InPlaceEditor code is on /test/index.html, and the form posts to /test/index.html) and passes a paramater of ''value''
2007 Aug 03
1
Prototype AJAX functions.
Hi all! I have a form that when user fills he will press submit button which have effect "onClick:previewMessage()". previewMessage() function is an Ajax.update function. I would like to know how can I get form data into other file which I''m accessing with AJAX? I hope I made myself clear. --~--~---------~--~----~------------~-------~--~----~ You received this message
2007 Dec 04
6
Problem preventing double click with ajax submit button
For a regular form I use the :onlick option to disable the submit button after the first click in order to prevent double clicks (leading to double entries): <% form_tag :action => ''create'' do %> <%= submit_tag "Create", :onclick => "this.disabled=true,this.form.submit();"%> I''m having trouble using this same method to prevent
2005 May 31
1
AJAX & Partials
Hi, looking to see if I''m on the right track here... we''re selling widgets to customers, but there are a number of different type of widgets and each different type of widget has a number of parameters that the customer can specify, in effect each customer orders widget''s customised in ways particular to that specific order. We use STI to store each different widget
2006 Aug 25
3
RJS Error: Element.update is not a function
Hi, I have implemented some RJS code and I have the same exact code in 2 different places. In one place I get the error "Element.update is not a function" and the other place works fine. Any idea why this error is coming? Breaking my head. -Vinod --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2006 Jan 06
3
BACKPACK: There was a problem processing your email
We''re sorry, but there was an error processing your recent email to a Backpack page: Subject: Re: [Rails] RoR API Firefox search plugin To: rails@lists.rubyonrails.org There''re a variety of things that can cause you to see this error, but it''s OUR fault, NOT YOURS. Often times this is a temporary glitch that will be fixed within a few seconds or minutes.
2008 Dec 24
5
Odd js behavior in Chrome & Safari
View file has a js function "confirm_result()" in <head> section: <script type="text/javascript"> function confirm_action() { result = confirm("Please select OK or Cancel") if (result == true) document.write("You selected OK.") else document.write("You selected Cancel.") } </script>
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya, I''ve just released script.aculo.us V1.5_pre1. Please give it a try! Important new stuff (since V1.1b1): * Added a main scriptaculous.js file to load in the other libraries transparently. * Fixed a condition where standard a href=xxx links wouldn''t work in autocomplete results. These do now, the onclick event is not cancelled. [thx to Jasper Slits] * Added
2003 Nov 17
1
Re: Questions about your Neuros (was: [faq?] Portable players supporting ogg vorbis)
Daniel Déchelotte (maitre_yodan@club-internet.fr) wrote: > Hi Greg, I'm cc'ing the list because I'm sure these questions will be of use to many other people. > Yeah, I also find it hard to resist, but there is still one bit that > concerns me: this huge and not so good-looking black backpack. How big is > it actually? I am suspecting it's huge because I can't
2006 Feb 08
35
BACKPACK: There was a problem processing your email
We''re sorry, but there was an error processing your recent email to a Backpack page: Subject: [Rails] RJS templates before, during and after To: rails@lists.rubyonrails.org There''re a variety of things that can cause you to see this error, but it''s OUR fault, NOT YOURS. Often times this is a temporary glitch that will be fixed within a few seconds or minutes.
2006 Jan 09
3
Emailing lost passwords
This might be a stupid question and if so then humor me with smart remark and the answer :) I want to have a feature on my site that allows me to email forgotten passwords back to the user (like what Backpack does). Now I''m currently encrypting the user''s password + salt before saving to the database using code borrowed from the LoginGenerator. The question I have is there
2006 Mar 24
3
JS validation on a form/submit tag? Like :condition=>...
Hallo -- is there a way anyone know of that I can add a :confirm clause to a form submit? Something like: <%= submit_tag ''commit'', :confirm=>"are you certain?" %> Does anyone know how to achieve this? Cheers, doug. -- Posted via http://www.ruby-forum.com/.
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find anyone else who''s attempted to do this, and probably with good reason. Context: blog using AJAX What I''m trying to do: when the user initially saves a blog entry, or when auto-saving, I want subsequent saves to not create a new blog entry Why I can''t just reload the partial: -
2006 May 16
9
Array in database?
Hello, I wanted to know how to make an aray in the database. I''m making a "backpack" for my game. So i''m gana use it in a array. -- Posted via http://www.ruby-forum.com/.
2006 May 17
65
BACKPACK: There was a problem processing your email
We''re sorry, but there was an error processing your recent email to a Backpack page: Subject: Re: [Rails] Knowing id before a call to save To: rails@lists.rubyonrails.org There''re a variety of things that can cause you to see this error, but it''s OUR fault, NOT YOURS. Often times this is a temporary glitch that will be fixed within a few seconds or minutes.