Click here to Skip to main content
15,901,205 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionvalidating a date Pin
Ayman Mashal30-Apr-07 22:56
Ayman Mashal30-Apr-07 22:56 
AnswerRe: validating a date Pin
arun rajappan1-May-07 0:04
arun rajappan1-May-07 0:04 
AnswerRe: validating a date Pin
rujuc#1-May-07 0:16
rujuc#1-May-07 0:16 
AnswerRe: validating a date Pin
PandemoniumPasha1-May-07 1:06
PandemoniumPasha1-May-07 1:06 
AnswerRe: validating a date Pin
Ayman Mashal1-May-07 1:15
Ayman Mashal1-May-07 1:15 
AnswerRe: validating a date Pin
RSArockiam1-May-07 1:20
RSArockiam1-May-07 1:20 
AnswerRe: validating a date Pin
eggsovereasy1-May-07 5:48
eggsovereasy1-May-07 5:48 
QuestionJavascript strangeness [modified] Pin
RichardGrimmer30-Apr-07 22:00
RichardGrimmer30-Apr-07 22:00 
Morning all.

I've been playing around with "customizing" the XMLHttp object using javascript to provide some extra functionality to it. Specifically, I've been trying to add a Timestamp field to the object, for tracking purposes.

Now as we all know, a javascript object is just a dictionary with string keys - which is why "object" members can be accessed through either the . operator or the [] operator. So far so good. Now since it's a dictionary, we're able to aritrarily add fields as and when we like, so the following code...

<br />
var obj = new ActiveXObject ("Microsoft.XMLHttp");<br />
obj.Timestamp = new Date();<br />


...should add this field to the object. I've tested under IE7 (no no - don't panic, not moaning bout Firefox - it's even stranger than that!), and alles ist gut. However, when I try it under IE6, I'm getting an "object doesn't support this property or method" error on the assignement of the new field - and a quick watch is telling me that indeed it's not there. (Which makes sense since the assignment is failing)

Anyone know what this might be - according to The Great God Google, there were no syntactic changes in the JS engine for IE7, just performance ones...



-- modified at 4:45 Tuesday 1st May, 2007

"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox

QuestionCharts in asp.net Pin
yaminilatha30-Apr-07 21:48
yaminilatha30-Apr-07 21:48 
QuestionSharepoint Portal in .Net Pin
aaraaayen30-Apr-07 21:32
aaraaayen30-Apr-07 21:32 
QuestionHow to import Excel sheet datas to an Asp.Net application using C# code? Pin
vijay_8330-Apr-07 21:14
vijay_8330-Apr-07 21:14 
AnswerRe: How to import Excel sheet datas to an Asp.Net application using C# code? Pin
Mayank Parmar30-Apr-07 22:54
professionalMayank Parmar30-Apr-07 22:54 
Questionhow to create a web browser in 2005 which can restrict porn sites Pin
fgfdhghgfd30-Apr-07 20:09
fgfdhghgfd30-Apr-07 20:09 
AnswerRe: how to create a web browser in 2005 which can restrict porn sites Pin
Christian Graus30-Apr-07 21:39
protectorChristian Graus30-Apr-07 21:39 
GeneralRe: how to create a web browser in 2005 which can restrict porn sites Pin
Ibuprofen1-May-07 6:02
Ibuprofen1-May-07 6:02 
QuestionPDF/FTP Pin
kirthikirthi30-Apr-07 18:43
kirthikirthi30-Apr-07 18:43 
AnswerRe: PDF/FTP Pin
Christian Graus30-Apr-07 21:23
protectorChristian Graus30-Apr-07 21:23 
Questionstoring a companyLogo into a temporary file via binary data into sql server 2005 Pin
mousemee30-Apr-07 18:22
mousemee30-Apr-07 18:22 
QuestionGroup Boxes and IE 7 Pin
Mneme30-Apr-07 16:43
Mneme30-Apr-07 16:43 
Questionmaster page Pin
hahii30-Apr-07 13:26
hahii30-Apr-07 13:26 
AnswerRe: master page Pin
kubben30-Apr-07 14:10
kubben30-Apr-07 14:10 
QuestionSend data from my client to website Pin
CTaylor8930-Apr-07 12:47
CTaylor8930-Apr-07 12:47 
AnswerRe: Send data from my client to website Pin
kubben30-Apr-07 14:09
kubben30-Apr-07 14:09 
GeneralRe: Send data from my client to website Pin
CTaylor891-May-07 13:51
CTaylor891-May-07 13:51 
QuestionHow to use Usercontrol Pin
vidya_rpl30-Apr-07 12:03
vidya_rpl30-Apr-07 12:03 

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.