Displaying 20 results from an estimated 1200 matches similar to: "XML Question"
2006 Jun 24
10
Looking for Javascript IDE
Hi everyone!
I am looking for a good Javascript IDE. Complete code-completion, should
understand object oriented models and anonymous functions.
Any suggestions?
PS: Im on windows.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop
I am wondering what the deal about Internet Explorer 6 is. My application is
near to final and now while testing browsers all but the IE6 are running as
supposed to. Any other browser is performing smooth movement while IE
compared provides a very bad expirience. I''ve seen some "tuning" infos on
this list but they are either outdated or not actually working
2006 Jun 13
3
Weird flicker effect in IE6 (sortables)
Hello everyone
I have made some strange expirience yesterday. I have an unordered list with
sortable list items (basic). Within these are various contents (forms, divs,
more lists) etc..
Now on only some of them the whole page (all text) begins to flicker /
redrawn in Internet Explorer 6 if i pick up a dragable and move it above its
original position (like moving it above the ghost of the
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/
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
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
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 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 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'',
2007 Jan 19
7
Prototype.js: Is there an "in_array"-like function?
Hi
i was wondering if there is a quick way to search for a item within an
array. Here is my approach for this functionality. It''s an prototype
for an Array method called "has":
Array.prototype.has = function(needle) {
for (var i=0;i<this.length;i++) {
if(this[i] == needle){ return true; }
}
return false;
}
var someArray = [''jim'',
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
2006 Jun 16
6
Drag and Drop work in IE?
Please,
I''m build an drag and drop tree using scriptaculous and it is perfect in
FF but when I test in IE don''t work, I drag the element and when I free
the button the element don''t go to the place, stay in the mouse pointer...
What can do it happen? I''m using last version of scriptaculous.
Thank you,
Pedro
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,
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
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 Jun 24
6
Few questions
I apologize if these questions are not relevant to Scriptaculous. I
just want to get a general idea if I can acomplish some or all of
these things with the framework, and then what (if any) I''ll need to
do outside just using javascript.
For now, I have 2 column layout. On the right I want a form palette
where form elements can be dragged to the left column. I have a form
inside the
2006 Jun 21
26
Implementing a boolean "switch" in a Class
I need a single boolean which would be "globally" accessible to all
instances of a class. Seems like the boolean should be in the class
prototype, but I was troubled by the difficulty of setting the prototype
boolean to true. Maybe I''m missing something?
var MyObject = Class.create();
MyObject.prototype = {
bSwitch: false,
... other methods and properties
}
var oMyOb1
2006 Jun 16
11
Detecting Body Onload
I have a piece of code that "waits" for body onload. Every 30ms, it tests
$(''body'').
Seems that isn''t always good enough. I''ve hit situations where the DOM is
"partially" loaded somehow.
I fixed matters by setting a global flag...
<body onload="bodyLoaded=true;">
which provides a better test... of course I could
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 Mar 17
10
good javascript xml parser
Anyone know of a javascript function that will take an xml document and
turn it into an associative array?
Basically it would take something like this:
<body>
<item>
<id>1</id>
<name>Bob</name>
</item>
<item>
<id>2</id>
<name>John</name>
</item>
</body>
And turn it into something like this:
{