Hi Michael,
in the previous version of Tiny Table (v2.5) I solved the problem replacig this code
var g,h; f=g=f.v.toLowerCase(); c=h=c.v.toLowerCase();
var i=parseFloat(f.replace(/(\$|\,)/g,'')), n=parseFloat(c.replace(/(\$|\,)/g,''));
if(!isNaN(i)&&!isNaN(n)){g=i,h=n}
i=Date.parse(f); n=Date.parse(c);
if(!isNaN(i)&&!isNaN(n)){g=i; h=n}
return g>h?1:(g<h?-1:0)
with this code that someone posted
var dX,mX,aX,fX,dY,mY,aY,fY,pos,pos2;
var g,h; f=g=f.v.toLowerCase(), c=h=c.v.toLowerCase();
var i=parseFloat(f.replace(/(\€|\,)/g,'')), n=parseFloat(c.replace(/(\€|\,)/g,''));
if(!isNaN(i)&&!isNaN(n)){g=i,h=n}
pos = f.indexOf("/"); pos2 = f.lastIndexOf("/");
dX=f.substring(0,pos); mX=f.substring(pos+1,pos2); aX=f.substring(pos2+1,(pos2)+5);
fX=mX+"/"+dX+"/"+aX;
dY=c.substring(0,pos); mY=c.substring(pos+1,pos2); aY=c.substring(pos2+1,(pos2)+5);
fY=mY+"/"+dY+"/"+aY;
i=Date.parse(fX); n=Date.parse(fY);
if(!isNaN(i)&&!isNaN(n)){g=i; h=n}
return g>h?1:(g<h?-1:0)
Now... using this code with the TinyTable V3 it work only with Firefox.
With IE8 raise an error "'undefined' is null or not an object" and the script doesen't work at all.
With v2.5 the code make possible to use your wonderfull script to europen people tha use Euro and different date format.
Do you have an idea to solve this issue?
Thank you
Destro
Gracias Funciono!
Att: Jefferson Lipsky