Displaying 8 results from an estimated 8 matches for "loadxml".
2006 Feb 07
2
Question about Classes.
...initialize: function() {
var options = Object.extend({
sdEventInfo: [],
sdLeaderInfo: [],
sdMiscInfo: []
});
this.options = options;
this.loadXML();
},
loadXML: function() {
new
Ajax.Request(''../../xml_files/session_data.xml'',
{method:''get'',parameters:''time=''+Math.random()*4,onComplete:
this.createArray})
},
crea...
2008 Jan 19
1
Set Return Type XML in Prototype
...st/jibon/jlab/ajaxDirectPrototype/
calculateAjaxFunction.php'';
var a = {
empID: 100,
amountTK: 200,
third: 30
};
var pars = new Hash(a).toQueryString();
var myAjax = new Ajax.Request(
url,
{
method: ''get'',
parameters: pars,
onComplete: loadXML
});
}
function loadXML(xmlHttpRequest)
{
// code for IE
if (window.ActiveXObject)
{
xmlDoc = new ActiveXObject("MSXML2.DOMDocument");
xmlDoc.loadXML(xmlHttpRequest.responseText);
//xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
//xmlDoc.async=false;
//xmlDoc...
2006 Apr 17
7
Serve static XML files how?
Hi,
a Javascript in one of my Rails templates needs to load a static XML
file. I tried several places to put the actual XML file, and I also
tried to make the file a rails template (tried both .rhtml and .rxml)
and access it via a controller action. None of these ways worked. Does
the lighttpd server know how to serve XML files, or do I need to
configure it first? Or, is there a good workaround?
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 May 13
0
MGeoRSS and IE
...lDoc= null;
if (!isIE) {
xmlDoc = this.request.responseXML;
} else {
// use the IE/ActiveX XML parser
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false"
xmlDoc.loadXML(this.request.responseText);
}
...
===============
Hope this helps someone!
- mps
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
2010 Jun 18
0
Wine release 1.2-rc4
...tion in ExtTextOutW.
user32: Destroy the unused buttons in a message box instead of only hiding them.
Andrew Nguyen (16):
msxml3: Add proper skips when msxml3 DOM interfaces are unavailable.
msxml3: Ignore the encoding attribute when loading a new XML document in IXMLDOMDocument::loadXML.
msxml3/tests: Correct the sense of a few test failure messages.
winex11.drv: Report a non-zero COLORRES capability value.
setupapi: Avoid useless initializations in SetupIterateCabinetA/W.
setupapi: Validate the cabinet filename parameter in SetupIterateCabinetA.
setu...
2010 Mar 19
0
Wine release 1.1.41
...eMsiRemoteDatabase BSTR parameters to LPCWSTR to avoid typecast.
shlwapi: Don't cast WCHAR string to BSTR.
quartz: Don't cast WSTR to BSTR, convert properly instead.
comctl32/datetime: Use user locale for format.
msxml3: Treat input BSTR as general WCHAR string for ::loadXML().
ole32: Turn FIXME to TRACE for CoGetTreatAsClass.
ole32: Remove useless parameter check.
urlmon: Add stub IUriBuilder interface.
urlmon: Add CoInternetIsFeatureEnabled stub.
shlwapi: Add a forward to DelayLoadFailureHook.
shlwapi: Fix StrCpyNW to deal with nul...