[Rails-spinoffs] Queuing Ajax Requests

2006-01-09 Thread Maninder, Singh
Hi, It's very obvious that for something like Autocomplete if we send a request to the server on every key stroke it's going to be an overkill. So, I wanted to check if scriptaculous/prototype has some queuing mechanism for remote calls? Thanks, Mandy. _

[Rails-spinoffs] DWR Vs Prototype/Scriptaculous

2006-01-09 Thread Maninder, Singh
Hello Everyone, Does anyone have any insight into the DWR library (http://getahead.ltd.uk/dwr/index)? I want to know the pros/cons of using DWR Vs Prototype/Scriptaculous libraries. I am a great fan of the prototype/scriptaculous combination and have been working with them for the last 3-4 mon

[Rails-spinoffs] Adding multiple input boxes having unique ids

2006-01-09 Thread Steve Odom
Hi,I can't figure out how to set a unique id or name for multiple new input boxes. If I have a todo list and want to add another task input box via a "add task" link, I can assign a unique name and id for the first new one I had with the following:                                                  <

[Rails-spinoffs] Re: Rails-spinoffs Digest, Vol 8, Issue 25

2006-01-09 Thread Jonathan Boutelle
For removing or changing a given element, these two functions (from the element object) seem the business remove: function(element) { Element = $(element); Element.parentNode.removeChild(element); }, update: function(element, html) { $(Element).innerHTML = html.stripScripts();

RE: [Rails-spinoffs] inPlace Editor

2006-01-09 Thread Maninder, Singh
Here you go: http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor <>___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] inPlace Editor

2006-01-09 Thread Deco Rior
Thanks, I will try this out. Where is this documentation? The only problem may be that the values are not all in a form. Deco On Jan 9, 2006, at 1:30 AM, Maninder, Singh wrote: The call back function is after returning from the server. callback V1.5 function(form) {Form.serialize(form)}

Re: [Rails-spinoffs] script.aculo.us: autocomplete does not work

2006-01-09 Thread Simon Brüchner
Thomas Fuchs schrieb: Ajax requests _must_ go to the same domain as the page they're contained in. So, you can't call script.aculo.us directly from your script when you're running it locally. -Thomas Thank you! It woks fine locally when I use a local url, witch contains the "answer1"!

RE: [Rails-spinoffs] inPlace Editor

2006-01-09 Thread Maninder, Singh
>> The call back function is after returning from the server. callback V1.5 function(form) {Form.serialize(form)} A function that will get executed just before the request is sent to the server, should return the parameters to be sent in the URL. Will get two parameters, the entire form and