Displaying 20 results from an estimated 8000 matches similar to: "Ajax.Updater to replace element, not the content"
2005 Dec 07
5
InPlaceEditor update of page contents ?
Hi all !
InPlaceEditor refreshes only the element that was updated. Is there
any way to make it update tons of other stuff ?
I have a table where changing a value in it causes changes in most
other cells (weight to percentage to money).
Thanks for any help !
--
François Beausoleil
http://blog.teksol.info/
_______________________________________________
Rails-spinoffs mailing list
2005 Sep 21
9
Ajax.Updater
Hi all,
I was wondering if one could pull a completely separate web site into a
div, e.g.
<a href="#" onclick="new Ajax.Updater(''artifact'',
''http://www.vivisimo.com/'', {asynchronous:true, evalScripts:true,
onLoading:function(request){Toggle.display(''message2body'')}}); return
false;">»</a>
it fails
2006 Feb 07
2
RE: ajax.Updater w/ JS content
Do you mean droppable.element.id?
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-
> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Louis Walch
> Sent: Tuesday, February 07, 2006 11:38 AM
> To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Subject:
2006 Feb 09
5
Ajax.Updater not populating element - please help
Hello everyone,
This is related to my post a few days ago regarding multi select
lists. I''ve rewritten the code and now can''t seem to get the
Ajax.Updater in getModels() to "execute", and the element never gets
populated.
I know it''s something obvious and hope someone could point it out to me.
Thanks for any help.
Here''s my code:
<script
2005 Oct 20
4
cross-fade effect on elements updated by ajax.updater?
Hello.
I was wondering if anybody could point me in the right direction of
creating a cross-fade effect for Ajax.Updater. If you have an element
that gets replaced by a new one with Ajax.Updater, how can we blend
one into the other?
Many thanks.
Tench
2006 Dec 08
2
Windows Tempfile Fix Plugin
Hi all,
Yesterday, I had some problems reading JPG files in my tests. Turns
out the problem was that Windows Ruby doesn't set it's Tempfile to
work in binary mode. Since I deploy on Linux, that has never been a
big problem, but now I'm working on some software that works with
binary files exclusively.
Anyway, I am making this fix available as a Rails plugin.
The details can be
2006 Dec 08
2
Windows Tempfile Fix Plugin
Hi all,
Yesterday, I had some problems reading JPG files in my tests. Turns
out the problem was that Windows Ruby doesn't set it's Tempfile to
work in binary mode. Since I deploy on Linux, that has never been a
big problem, but now I'm working on some software that works with
binary files exclusively.
Anyway, I am making this fix available as a Rails plugin.
The details can be
2007 Feb 07
11
Running patched rails
Hi,
Does anyone have any tips for running a patched version of rails? I am
currently running rails 1.2.2 and would like to keep up to date with any
future releases. I also want to run with the following patch:
http://dev.rubyonrails.org/ticket/5748
I am unsure how to manage this. Is this something SVN or rake can
handle?
Any tips/pointers would be very much appreciated.
Thanks,
GiantCranes
2007 Jan 24
7
Differences between assert_tag and assert_select
Hi all,
I can't seem to make assert_select work for the more complex cases for me.
Here's a sample:
# View
<%= link_to_remote 'Add new', :url => new_phone_url, :submit => 'phones_head' %>
# Generated code:
<a href="#" onclick="new
Ajax.Request('http://test.host/admin/parties/phone/new',
{asynchronous:true, evalScripts:true,
2006 Feb 23
5
Q: Where to put a periodic updater?
Hello,
I need to put a script in place for updating a local database with a
remote resource periodically. It should be started alongside the
server (or inside it, whatever) and be run as long as the server
running my rails app is up an running.
Any thoughts on how to accomplish this?
I have thought of editing the environment.rb file and placing the call
to the script trigger there, but I wonder
2006 Feb 20
1
[Prototype] onSuccess Event and Ajax.Updater bug in IE
Hi all,
Is there a known bug with Ajax.Updater not working in
IE6? I''m having
trouble with a Autocompleter control that calls a
function that contains
an Ajax.Updater as an AfterUpdateElement callback. It
works fine in
firefox, but I don''t think Ajax.Updater gets called
under IE.
http://pastebin.com/563889
1.
function updater(input, item) {
2.
var
2008 Apr 29
1
Making new Ajax.Updater within a previous Ajax.Updater call
I have a button which calls a form via Ajax.Updater:
<a href="javascript:void()" onclick="createMessage()">Create Message</
a>
<script>
function createMessage() {
new Ajax.Updater( ''content'', ''message.php'', { method: ''post'' } );
}
</script>
This is the message.php file:
<html>
<head>
2006 Feb 21
1
RE: [Prototype] onSuccess Event and, Ajax.Updater bug in IE
Joe,
After removing all occurrences of charset=utf-8 from
my headers I am
still getting the same bug in IE.
Currently, it''s Content-Type: text/html
Any other suggestion?
Nathan.
> Message: 2
> Date: Mon, 20 Feb 2006 09:13:57 -0500
> From: "Joe Hudson" <joe-x8g0hQFNjJhWk0Htik3J/w@public.gmane.org>
> Subject: RE: [Rails-spinoffs] [Prototype] onSuccess
Event
2007 Mar 27
1
Ticket #7124
http://dev.rubyonrails.org/ticket/7124
I just attached a patch against 1.2 that cleanly applies to trunk too.
This allows functional and integration tests to have the same
interface to the xhr/xml_http_request method. The patch also includes
a deprecation workaround when called without the appropriate
parameters.
If the patch could also be applied to the 1.2 branch, I would appreciate.
The
2006 Jun 20
5
Multiple Ajax.Request or Ajax.Updater
I''m having a problem with multiple Ajax.Updater instances. I have five
small chunks of data being loaded into my homepage, and they seem to
be firing off one at a time. So the pieces load up in the order they
were called. Maybe I''m being a noob, but shouldn''t all those requests
just fire away and then place the content as it gets received?
I was doing multiple versions,
2006 Mar 21
2
r3981 causes SystemStackError
http://dev.rubyonrails.org/changeset/3981
?!?
The changes are a rename of RailsInfoController to
Rails::InfoController. That seems to be completely unrelated to this
error:
$ ruby script\server
=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.rb:121:in
`underscore': stack level too deep (SystemStackError)
from
2006 Mar 22
2
problem with Ajax.Updater evalscript and firefox
Hello there people, im having a problem with the Ajax.Updater evalscripts, i
fill and div with a form that i get with the Ajax.Updater, that form had a
javascript validation, i put evalScripts true but when i get the form i had
an unexpected close in the firefox, i had a long time looking the answer but
nothing yet, somebody with the same problem? or the answer?
greets
--
//
// Ing. Francisco
2007 Oct 23
0
new Ajax.Updater('about-content', 'rails/info/properties',
The default index page has a neat trick for dumping out environmental
information. I would like to see how this works by looking at the
code that the XHR gets back from rubyonrails.org, but I can''t figure
out how.
How do I look at this? Is it online in a browser visible way?
Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 Feb 16
2
javascript node with Ajax.Updater
Hi there, im having a problem with the Ajax.Updater, im using the
Ajax.Updater to get an divider, inside the div i have a javascript node that
i use to do javascript stuff, the problem is when i get the divider i get
whole the html but not the javascript node, thats a bug?
*anybody know what''s happening?*
--
//
// Ing. Francisco J. Calderón S.
//
2006 Jan 10
2
Make link_to_remote call redirect current view, not read redirected content
Hello everyone !
I have a link_to_remote which creates a Party from a ContactRequest.
The action on the server creates the party, marks the contact request
as processed, and then returns a redirect. According to my knowledge
of HTTP, that is the correct thing to do.
Unfortunately, Prototype is being too clever for me at this time...
It follows the redirect, without notifying me. Anybody has