Click here to Skip to main content
15,908,111 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: How to Add Days in Javascript Date Object Pin
Richard Deeming22-May-13 3:23
mveRichard Deeming22-May-13 3:23 
AnswerRe: How to Add Days in Javascript Date Object Pin
Dennis E White22-May-13 4:39
professionalDennis E White22-May-13 4:39 
AnswerRe: How to Add Days in Javascript Date Object Pin
Niral Soni23-May-13 1:23
Niral Soni23-May-13 1:23 
Questionfunction for split a complex string Pin
mhd.sbt21-May-13 7:06
mhd.sbt21-May-13 7:06 
AnswerRe: function for split a complex string Pin
ZurdoDev21-May-13 10:30
professionalZurdoDev21-May-13 10:30 
AnswerRe: function for split a complex string Pin
Dennis E White22-May-13 4:53
professionalDennis E White22-May-13 4:53 
AnswerRe: function for split a complex string Pin
Niral Soni23-May-13 2:36
Niral Soni23-May-13 2:36 
QuestionReading XML - success being ignored Pin
#realJSOP21-May-13 1:01
professional#realJSOP21-May-13 1:01 
I have the following code. The problem is that the xml file is being read (it's displayed in FireBug's Console tab), but the success code is not being executed (I can't step through it in the debugger). What am I doing wrong?

jquery
$.ajax(
{
	type: "GET",
	url: _cfgDataFile,
	dataType: "xml",
	success: function(xml)
	{
		var configNodes = $(xml).find('Config');
		parseConfigNodes(configNodes);
		var imageNodes = $(xml).find('Images');
		parseImages(imageNodes);
		var dataNodes = $(xml).find('Data');
		parseData(dataNodes);
	}
});


(I'm using FireFox/Firebug for debugging.)

EDIT =====================================

I added code to get any error that might be happening, and this is what was returned:

[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:1437/testwebsite/Scripts/jquery-2.0.0.js :: .send :: line 7713" data: no]

It turns out that the problem is actually in FireFox/FireBug. In IE, the code works fine. The world is now officially inside out because FireFox has now managed to out-suck IE.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997



modified 21-May-13 10:14am.

AnswerRe: Reading XML - success being ignored Pin
Dennis E White21-May-13 4:49
professionalDennis E White21-May-13 4:49 
GeneralRe: Reading XML - success being ignored Pin
#realJSOP21-May-13 5:00
professional#realJSOP21-May-13 5:00 
GeneralRe: Reading XML - success being ignored Pin
Dennis E White21-May-13 5:13
professionalDennis E White21-May-13 5:13 
GeneralRe: Reading XML - success being ignored Pin
#realJSOP21-May-13 5:40
professional#realJSOP21-May-13 5:40 
GeneralRe: Reading XML - success being ignored Pin
Dennis E White21-May-13 5:44
professionalDennis E White21-May-13 5:44 
GeneralRe: Reading XML - success being ignored Pin
Jasmine250121-May-13 6:03
Jasmine250121-May-13 6:03 
GeneralRe: Reading XML - success being ignored Pin
Dennis E White21-May-13 7:06
professionalDennis E White21-May-13 7:06 
GeneralRe: Reading XML - success being ignored Pin
Jasmine250121-May-13 7:23
Jasmine250121-May-13 7:23 
GeneralRe: Reading XML - success being ignored Pin
Dennis E White21-May-13 8:02
professionalDennis E White21-May-13 8:02 
AnswerRe: Reading XML - success being ignored Pin
Jasmine250121-May-13 6:02
Jasmine250121-May-13 6:02 
GeneralRe: Reading XML - success being ignored Pin
#realJSOP21-May-13 6:55
professional#realJSOP21-May-13 6:55 
GeneralRe: Reading XML - success being ignored Pin
Jasmine250121-May-13 7:21
Jasmine250121-May-13 7:21 
GeneralRe: Reading XML - success being ignored Pin
#realJSOP21-May-13 8:55
professional#realJSOP21-May-13 8:55 
Questionproblem with JQuery. Pin
imbaro20-May-13 4:25
imbaro20-May-13 4:25 
AnswerRe: problem with JQuery. Pin
Richard Deeming20-May-13 4:47
mveRichard Deeming20-May-13 4:47 
GeneralRe: problem with JQuery. Pin
imbaro20-May-13 4:54
imbaro20-May-13 4:54 
QuestionAccount delete! Pin
Hakan Bulut18-May-13 2:14
Hakan Bulut18-May-13 2:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.