Displaying 20 results from an estimated 900 matches similar to: "transportXML returns null?"
2009 Jun 14
3
Basic AJAX Response (Mootools)
Hi,
I''ve done AJAX calls to Rails'' Controllers before yet never required to
generate a response back to the view. In this respect, I have tried to
keep it moronically simple and just add a node to see that it works, yet
the response doesn''t come through / isn''t interpreted as it should. Long
story short, code :
// Have to use Mootools to integrate a
2008 Mar 25
2
responseXML not working on XML file
When creating an Ajax.Request(''/path.xml'') i don''t get responseXML.
I''m confused what I am doing wrong. If i change the response variable
and dump responseText, it shows the file, it just doesn''t recognize it
as xml.
function xml(url){
new Ajax.Request(url, {
method: ''post'', parameters:''resultSet=simcall'',
2008 Jan 16
2
Ajax Response responseXML is null in IE
This may be a Prototype question but is probably a general JavaScript
question. I am creating an Ajax.Request and getting back a response
that should be evaluated as XML. But in IE, in my onSuccess function,
the response.responseXML object is null. In Firefox it works
properly.
I have checked the three things that are supposed to determine whether
the browser interprets the response text as
2007 Apr 03
2
Some cryptic error in IE
Hello,
I am using Sarissa v 0.9.7.6 and prototype v 1.5. In ajax application,
I am retrieving xml string from a local servlet and displaying it using xslt
processing by sarissa. This works perfectly well in FF, however it gives
bunch of error in IE. I have posted same type of problem quite few days back
and I stopped using Sarissa. Now I need to use Sarissa so any help would be
highly
2007 Aug 02
3
Problems with Element.extend() on responseXML elements with IE
I have the following code in the "onSuccess" function of an
Ajax.Request() call. The content type of the response message is "text/
xml".
function interactionSuccess(request) {
var root = $(request.responseXML.documentElement);
...
So more or less I extend the root element of my XML response.
This call triggers the onException callback. The exception is a
2005 Oct 18
4
responseText Vs responseXML
This is a newbie question.
If I have a xml file that I am opening using Ajax.Request, then the response is trapped using responseText.
Now this response is a set of xml tags, if I need to traverse through it using DOM, I am not able to use the getElementByTagName method?
If I write my own ajax function, then when I do t.responseXML.getElementByTagName(''items'') it works but
2005 Sep 07
3
XMLHttp question
I''m continuing my work on integrating fckeditor with Rails. Currently
I''m working on implementing the filebrowser / upload features, but
I''ve ran into this problem.
The response I get back is being loaded into the "responseText"
property instead of the "responseXML" property. I''m trying to figure
out why this is the case, but am coming up
2006 Jun 16
4
Prototype $$() on arbitary DOM element ?
I am bit confused with this function. Should I be able to pass in a DOM
element e.g. someAjaxRequest.responseXML and interrogate it ?
Seems not but perhaps I am missing something...
TIA
Matt
2008 Jan 04
6
Ajax.Request: onFailure vs. onException
Hello All,
I''m trying to capture the exception message that my server application
is providing in response to my Ajax.Request. However, I''m confused as
to when onFailure is fired vs. onException. The onException handler has
access to the javascript exception object and I''d understood that it was
only called when the dispatch fails. Not sure what exactly that means
2005 Oct 25
2
Content-Type: application/rdf+xml
Hi,
I am trying to parse the response received from a rdf file using DOM.
However, I am not able to get anything in the responseXML. It always returns null.
Following is the content type I receive from the server.
Content-Type: application/rdf+xml
Can someone let me know how I can receive this as an xmlObj?
Thanks in advance,
Mandy.
_______________________________________________
2008 Jan 05
4
PeriodicalUpdater onComplete broken?
Using the PeriodicalUpdater, I''m finding the onComplete is not firing.
I thought I''d get some feedback here before filing a bug report.
http://ianty.com/updater/update_test_1.6.0.1.html
http://ianty.com/updater/update_test_1.6.0.html
The above are examples of this for prototype 1.6.0 & 1.6.0.1.
I''m expecting the onComplete to fire after the update takes place, per
2007 Apr 20
15
Need help with something.
Hello, I need a way to send some script in a div or a form field to
the server,
have the server read it, then return the updated script to the div or
form field.
I can do the div and form field and such, I just need someone to
explain to me how to do this. Can this be done? Thank you very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2013 Jun 05
1
[PATCH website] Even more brands for links and sourceforge pages
On 05-06-13 10:41, Erik de Castro Lopo wrote:
> Have you tried replacing the "GET" here:
>
> xhttp.open("GET",dname,false);
> xhttp.send("");
> return xhttp.responseXML;
>
> with a "POST" operation instead? See the "GET or POST?" section of this
> page:
Right, I didn't know about that. Here's a patch, it
2006 Jul 24
15
XML Question
I''ve got an XML file which is pretty well structured. I need to retrieve
specific elements from that file to fill out empty HTML elements on a page.
I think what I need is xPath? Or - is that overkill? Is there some easier
way to locate an XML element?
What I have in mind is pulling the XML file using Ajax, then xPath to get
the bits I need.
Am I on the right path and does
2006 Jan 02
1
Trouble Connecting to Server
Folks,
I'm having trouble connecting to my Samba server. The immediate
symptom is that I cannot see my Samba server in my Windows Network
Neighborhood, and so I cannot connect to it to check my share connections.
I'm running SUSE 9.3 on the server, which is running Samba (3.0.22) ,
a dhcp server (which seems to be running correctly--everyone gets an
address when they ask for one),
2002 Feb 06
2
SFTP Status Bar..
This is the LAST version I plan on doing.. If I hear no feed back good
or bad. Then I'll assume I've wasted my time on a feature that people
whine about but don't care to try. This is against 3.0.2pX so it
should be VERY easy for anyone to test.
- Ben
diff -ur openssh-3.0.2p1/misc.c openssh/misc.c
--- openssh-3.0.2p1/misc.c Tue Jul 3 23:46:58 2001
+++ openssh/misc.c Wed Feb 6
2006 Feb 07
2
Question about Classes.
I have the attached class that I''m writing. The problem that I''m
running into is that I can not access the options from the createArray
function which get called after the ajax request gets done. I want to
move the values of the xml file to an array and story it in the options
variable. Can someone explain what I''m doing wrong?
var LeaderInfo = Class.create();
2006 Feb 23
6
prototype ajax + xml response
Hi,
I am looking for a solution to use ajax.request object.
Return response text will be in xml format and I like to know how to
parse that xml information, so that I can put those info into the "span"
or "div" tags of my html page. Is there any easy way to parse that xml
info using prototype library?
Thanks,
kevin.
--
Posted via http://www.ruby-forum.com/.
2008 Feb 09
1
problem using evalJSON with Ajax
Hi, all
I am trying to use evalJSON with Ajax, but somehow it doesn''t work.
for instance, I have a php file has the following output:
"name": "Violet", "occupation": "character"
and I have a html file with the following javascript:
new Ajax.Request(''/some_url'', { method:''get'', onSuccess:
2006 Jun 30
2
Ajax.Request synchronization (onSuccess before onComplete?)
2 questions regarding the synchronization of these events.
1) is onSuccess called before onComplete ( I assume it is)
2) if called after, is onComplete called after the onSuccess
method has completed or are you at the mercy of synchronization issues?
Hopefully someone can enlighten me. I tried reading the Prototype.js but
couldn''t seem to determine this on my own.