Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Sat, 25 Mar 2006 19:50:15 GMT,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


backward compatibility for "undefined"   
:-)

A javascript I wrote failed to run on MSIE5 because I had used "undefined",
which apparently is a recent addition to js. (it resulted in the amusing
message "undefined is undefined")
I found a workaround on a website, ie. declaring "var undefined" at the
start of the script, which seems to work, but I'm wondering whether this is
safe to use on all browsers?

Marc.
date: Sat, 25 Mar 2006 19:50:15 GMT   author:   Sverine ess

Re: backward compatibility for "undefined"   
:-)

And another thing, should I do something similar for "null"?

Marc.
date: Mon, 27 Mar 2006 02:05:22 GMT   author:   Sverine ess

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us