Displaying 20 results from an estimated 9000 matches similar to: "Bug/?.."
2007 Sep 27
4
transportXML returns null?
Hi,
I want to load an XHTML file into DOM. I issue Ajax.Request and on
success do:
var response=transport.responseXML
Response is null. On the other hand:
var response=transport.responseText; // has the data.
Why is response=transport.responseXML returns null?
Here is the code:
function display() {
url = "http://" + location.hostname + port + "/fusion/
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
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
2010 Feb 26
2
dramatic speed difference in lapply
So I have a function that does lapply's for me based on dimension. Currently
only works for length(pivotColumns)=2 because I haven't fixed the rbinds. I
have two versions. One runs WAYYY faster than the other. And I'm not sure
why.
Fast Version:
fedb.ddplyWrapper2Fast <- function(data, pivotColumns, listNameFunctions,
...){
lapplyFunctionRecurse <- function(cdata, level=1,
2006 Jun 14
0
Bad behaviour in Internet Explorer
Hello,
I''m using scriptaculous and it is great but they are very slow and don''t
show the element when I drag it in IE6.
Someone know something about drag and drop in IE?
I''m using the latest version, 1.6
The code is:
<div id="list[1]" >
<div id="item_2" onclick="CSSUtils.show(''list[2]'')">Obras
<div
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 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.
_______________________________________________
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 Sep 25
2
Two overlaid density plots - Does order matter?
In the following code, the only difference between the two plots is the
order the variables are plotted. In this case, the plot of "cdata.den" in
plot #1 is different from its plot in #2. Specifically, "cdata.den" spans
the x-axis from -5 to 30 in plot #1 and from 0 to 20 in plot #2. Does
anyone understand why these two plots do not yield the same result?
#Make density
2005 Jun 16
1
logistic regression - using polys and products of features
Hi
I can get all my features by doing this:
> logistic.model = glm(similarity ~ ., family=binomial, data =
cData[3001:3800,])
I can get the product of all my features by this:
logistic.model = glm(similarity ~ . ^ 2, family=binomial, data =
cData[3001:3800,])
I don't seem to be able to get polys by doing this:
logistic.model = glm(similarity ~ poly(.,2), family=binomial, data
2006 Jun 24
1
Parsing XML with REXML problem
Why can it not find my object? What am i missing here? Here is my code:
require ''rexml/document''
include REXML
# classes to represent the objects and relationships in the xml file
class Article
attr_accessor :id, :post, :archive, :ntype, :head, :blurb, :body,
:fblurb, :fimage, :att, :source, :copy, :brand
end
# the base parser
class BaseXMLParser
def initialize(filename)
2005 May 30
0
asterisk integration with Quintum Tenor AXT800!
Hello *'s,
I have question regarding Quintum Tenor AXT800 VOIP gateway can anyone
integrate it with asterisk if anyone what is the scenerio? i have a
scenerio which is quite simple but i am confused about it whether it
is possible or not :
I integrate it with asterisk for intranet no PSTN at all just only
IPphones connected through ehternet port and analog phones connected
on FXS port.Is
2010 Feb 19
0
Wine release 1.1.39
The Wine development release 1.1.39 is now available.
What's new in this release (see below for details):
- Support for registry symbolic links.
- Many MSI fixes.
- Build process improvements.
- MSXML cleanups and fixes.
- A number of MSHTML improvements.
- Various bug fixes.
The source is available from the following locations:
2006 Jan 03
1
opensearch template
I've just noticed the Omega "opensearch" template seems to lack escaping
for URLs in <link> tags:
$httpheader{Content-Type,application/xml}<?xml version="1.0"?>
<rss version="2.0" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">
<channel>
<title>Xapian search results</title>
2013 Jun 05
0
[PATCH] Change javascript feed fetch from GET to POST
This change should disable caching of the news feed
---
index.html | 2 +-
news.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 41d81d8..b4efb6b 100644
--- a/index.html
+++ b/index.html
@@ -23,7 +23,7 @@
} else {
xhttp=new XMLHttpRequest();
}
- xhttp.open("GET",dname,false);
+
2001 Oct 06
1
tcltk
HI,
(1) ...thanks for the last comments to tcltk & Win2000.
(2) - i'm newbie in tcl/tk but would like learn fast and develop
(learning by doing) a tcl/tk clusterAnalysis application which combine
some clusterMethods from different Rpackages.
i use the tkttest.R example as "reference" and become not finished for
my "first" step????
(3) how is it possible that the code
2006 Jun 13
0
CDATA as api_method expected parameter
I''d like to know if there is any way to accept a CDATA block as a
parameter to an ActionWebService API method. I''d like to have
something like this,
class MyAPI < ActionWebService::API::Base
api_method :test, :expects => [:cdata]
end
The client would pass "<![CDATA[ ...blah blah... ]]>" as the parameter
to the method, test.
Perhaps I need to specify
2005 Nov 20
3
rounded corners in rails apps ?
Hi all
I like very much rounded corners and often used thee well known nifty
Javascript approach for that, Recently I discovered Rico (
http://openrico.org), which does the same and is much simpler to use (don''t
require additional css files) and is based on prototype.js. This is all very
nice, but there is currently one problem, the latest Rico library seems to
require prototype 1.3.1,