A few things jump out at me here. First, in the xml snippet you provided I do not see anywhere that you have an attribute by the name of 'file_name' which you are looking for in your php file:
Sorry I have no interest in commenting on or fixing that particular code as you are doing it all wrong right from the very beginning. You should just use the array's sort() method with a specail...
I would consider it bad idea to use extract() on $_GET (or $_POST) as it may potentially contain things you did not expect. You should know what variables to expect from $_GET and then only allow the...
First, note it's not actually Javascript, but is Microsoft's proprietary JScript which is indeed very similar to Javascript.
May need you to clarify, are you using in Internet Explorer and are you...
That would be a horrible idea, as it hard codes in the name of a specific variable which is created far outside the current scope within the constructor (I assume you actually kinda mis-spoke there,...
True, there are after all many ways to skin a cat (supposedly, though I've never tried)! But this is not always a desirable pattern of coding and there are many times you would not want to do that.
...
May I inquire what browser & version, plus how were you accessing the file? It does work for me from a server (just checked in IE 7, 8 & 9, Firefox 5, Safari 5 & Chrome 14) but from local file Chrome...
Flash still works cross browser as far as I know, and I use this combination of flash and javascript called ZeroClipboard
Oh, actually just re-read the question and should clarify ZeroClipboard is...
Apologies, rnd_me, for the tongue out, was just being playful and hope you did not take offense. Just noticed looking at this again and even though the o.p. has not requested parsing of floats within...
function DataCollection()
{
var obj = this; //reference to the created instance of DataCollection
this.points = []; //or you could do: obj.points = []; here within the constructor code
...
I believe you may be going down the wrong path here (that's o.k. though, part of learning, right?). The only reason one could have to utilize an ActiveXObject for this task is if you would literally...
Allow me to play devils advocate here a moment... :)
1. Array.prototype.map is not backwards comatible with all browsers, you totally left out the part about having to actually include the...
I stuck it in there because it was only needed for that particular function, so secondsAsTime basically contained everything it needed and no need to remember to have a pad function globally...