Displaying 20 results from an estimated 9000 matches similar to: "Ajax.Updater form values"
2005 Aug 21
0
[PATCH] in-place-editor, AJAX loading
I sent this on Friday but somehow managed to email it to the wrong email
address!
----
Attached is a patch to add external (AJAX) loading of content to the
InPlaceEditor.
2 extra options have been added:
loadUrl:
a URL to load the content from. If this is present, it will be used
instead of the innerHTML.
fieldId:
I had to add this so we know what the text field is when we''ve
2007 Jan 21
0
Safari doesn't pass the headers.
When I try to update content through ajax It doesn''t work on Safari.
I''ve opened a ticket http://dev.rubyonrails.org/ticket/7087 for full
reference. The test case is the next:
/app/controllers/problem_controller.rb
class ProblemController < ApplicationController
def index
render :action => ''index''
end
def myrequest
render(:update) {|page|
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
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 Sep 28
1
evalJSON problem
Hey there,
I have a FCKeditor(a WYSIWYG online html editor) and i want to bring
it to a page by Ajax and JSON by a php request-catcher.
I have sth like this in my ajax request:
new Ajax.Request(''myactions.php'',
{
method:''get'',
parameters: {action:''bringeditor'', id:<?php echo $uid; ?>},
onSuccess: function(transport){
2006 Jun 27
5
Ajax - Inserting selected elements from request.responseText
After retrieving a URL using an Ajax.Request...
function onComplete (request, json) {
// request.responseText holds the entire page
Only the content contained in elementID = ''source'' is intended for display
At this time, the following code works, but it disturbingly copies the
entire page from the source URL into the target DIV
$(''target'').innerHTML =
2006 Apr 08
0
Re: Rails-spinoffs] Ajax.Updater asynchronous => false
I just ran into this very problem myself. Yes, this is a bug in prototype.
If you look in the code you will see that the relevent handlers and
callbacks simply aren''t called with a synchronous request (onComplete is
similarly not called).
I submitted a patch <http://dev.rubyonrails.org/ticket/4657> over at
dev.rubyonrails.org which fixes this behavior. If you decide to check it
2006 Apr 07
0
Ajax.Updater asynchronous => false
I was just working on a project where I needed to use Ajax.Updater with a
synchronous request. It appears like all one would need to do is set the
asynchronous option to false. I tried this and noticed that the content
was being requested synchronously but the content was never injected into
the DOM tree like one would expect from Ajax.Updater.
In order to get the content returned by
2006 Apr 12
11
innerHTML and scripts not running
Hello,
I''m having an issue with getting embedded javascript code to actually
run when loaded via an Ajax.Request() call and the callback function
inserts the generated HTML and js code to my current page. It seems
that the javascript code is not properly parsing.
For example, I''m using the following function showinfo() to return
some html code.
function showInfo(go_url){
2007 Mar 01
6
prototype ajax.updater response bigger than 10k on safari
Hi All,
Safari crashes everytime my ajax response is bigger than 10k, i traced
it down and found out that it breaks when evalScript is being called,
maining when extractScript is trying to match the regex.....
is this a known bug on safari?
if yes is there anyway to get around it?
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2006 Sep 19
1
Problem using POST with IE 6
Hey guys, hope one of you can help me.
I have the following code that works with Firefox but not within IE.
The basic premise is that when using a POST to send to my page, IE
doesn''t seem to send it and therefore doesn''t fire the database update.
GET''s work fine in IE but due to the potential volume of text, a GET
is not realistic.
In Firefox, GETs and POSTs work as
2006 Jun 06
1
Getting value of form using Ajax (and problems with Safari)
I have got two forms, the first is a textarea plus a link that activates
some javascript to change the form, the second activates some javascript
on the onchange event which changes it into a textarea form.
This works in Firefox, but not in Safari.
Also, I need the value which is selected. I''ve found an example that
gives the parameter to the javascript, like this:
<input
2007 Nov 07
2
Ajax.Request -post
Hello SpinDoctors,
I am fairly new to prototype js framework. I love it.
Have various Ajax -get calls... which work wonderful...
Suddenly, realised that in one case I have to use ''post'' to overcome
the limitation on URL length...
Have changed the parameters to suit to ''post'' request, but nothing
happens... need your help...
function getOptionalGroups(key){
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying.
In javascript, I''m using the ajax.updater, and it (obviously) writes
back out to a div. I want to then compare what was echoed out into
this div (which came from the php file I listed in ajax.updater) with
a string.
test should equal "SomeString" because that is what is being echoed
out to
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
Hello all!
I''m having a problem which is driving me insane.
It''s probably related to the fact that I''m new to javascript.... :)
Here''s the thing, I have a couple of effects which are all being put
in the queue.
Some of these effects have callbacks; e.g. "afterFinish".
But the calback is being made directly instead of after the effect is done.
The
2008 Aug 25
1
prototype.js Ajax is slow
So I was doing some experimenting with prototype and ajax and discovered
something interesting. When I use the first ajax call the response from
the server take 53ms. When I use the second on using the prototype
functions the request from the server is over 200ms. My question is
why, and can it be fixed?
<p><a href="#" onclick="serverSideAlert();">Call
2007 Feb 19
0
Ajax.Update nested within Ajax.Request
Hi everyone,
I have a script below that submits a form using Ajax.Request which is
working fine. onComplete or onSuccess though, I''d like it to refresh
the div form (formCapture), but so far I can''t get it to work. The
script runs to into the onComplete stage, but the div isn''t refreshed.
Can anyone help with this?
Regards,
Robert Hofmeyr
function subForm() {
new
2008 Jan 30
3
Ajax.Request - nothing in responseText, I need it!!
I am at a complete loss here and I need a solution asap! Any help is
GREATLY appreciated!!! I have my request going out to a php script
that sends a query to my db and then echos the return data into html
format. this script works fine when I go to the url in a browser and
send the correct params.
However, in my ajax request, nothing gets returned?! Here is my
code...
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>
2007 Apr 13
2
inplace editor and textarea
Hi,
I have an inplace editor and I can access the innerHTML value of the
created form. However the innerHTML gives "<textarea>....</textarea>
..."
How can I access the textarea value? I tried to do
innerHTML.textarea.value but it didn''t work. Any ideas will be
appreciated.
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.