Hello,
In an ASP script Request.Form() returns a value fine.
But I want to be able to chop the returned value up using substring.
Having trouble getting the return into a String variable so I can do this.
eg.
var eDate;
var sDD,sMM,sYYYY,s HH,sMI,sSS;
eDate=Request.F orm("edate");
sDD = eDate.substring (0, 2);
sMM = eDate.substring (3, 5);
sYYYY = eDate.substring (6, 10);
Gives
Error Type:
Microsoft JScript runtime (0x800A01B6)
Object doesn't support this property or method
/sfdw/trw1.asp, line 156
Could someone guide me please.
Martin Speight.
In an ASP script Request.Form() returns a value fine.
But I want to be able to chop the returned value up using substring.
Having trouble getting the return into a String variable so I can do this.
eg.
var eDate;
var sDD,sMM,sYYYY,s HH,sMI,sSS;
eDate=Request.F orm("edate");
sDD = eDate.substring (0, 2);
sMM = eDate.substring (3, 5);
sYYYY = eDate.substring (6, 10);
Gives
Error Type:
Microsoft JScript runtime (0x800A01B6)
Object doesn't support this property or method
/sfdw/trw1.asp, line 156
Could someone guide me please.
Martin Speight.
Comment