473,769 Members | 2,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE5.5 SP2 (ver IE 5.50.4807.2300. co) not recognizing 'undefined' as keyword

2 New Member
Hi,

When I run the following function in IE5.5 with SP2 (version 5.50.4807.2300. co ) I get the javascript error for 'undefined''

function checkParam(url, paramName, paramValue)
{
if(paramName!=u ndefined && paramValue!=und efined &&
paramName!=null && paramValue!=nul l &&
paramName.lengt h==paramValue.l ength)
{
// Do processing
}
}

However when the code is modified to use 'undefined' in forllowing manner it works
typeof(paramNam e) !="undefined"

This function is called as checkParam(<som eurl>);

From the web I could find that 'undefined' is supported from Javascript1.2 onwards.

My question:
Where can I get the information about the JavaScript version supported by IE5.5 (version 5.50.4807.2300. co). I don't have access to this browser to check the information. I need to substantiate it with pointers to sites mentioning this information.

TIA,
Udie
Jun 26 '07 #1
2 1584
shoonya
161 New Member
how about using
Expand|Select|Wrap|Line Numbers
  1.  
  2. var arg;
  3. if(arg){  // if arg is defined
  4. }
shoonya
Jun 26 '07 #2
acoder
16,027 Recognized Expert Moderator MVP
Unfortunately, IE doesn't use Javascript. It uses JScript which is its own proprietary version of standard Javascript.
Jun 26 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1268
by: Andrew Poulos | last post by:
I'm using code that has statements similar to this: if (foo == undefined) and IE 5 complains that 'undefined' is undefined. What would the equivalent in IE 5 be? Is 'undefined' the similar enough to 'null' for me to use 'null' instead? Andrew Poulos
49
14522
by: matty | last post by:
Hi, I recently got very confused (well that's my life) about the "undefined" value. I looked in the FAQ and didn't see anything about it. On http://www.webreference.com/programming/javascript/gr/column9/ they say: <snip> The undefined property A relatively recent addition to JavaScript is the undefined property.
4
4652
by: ajschuster | last post by:
I cannot get my Javascript to work in Firefox. I am just trying to access the .name property of a DIV tag but it keeps coming back as "undefined". The same code works in IE and it works in Safari.... and if I change it to .id instead of .name it can read that so why wouldn't it be able to read the .name? I need urgent help!! Here's my code....
11
498
by: Chris | last post by:
I have a simple search feature that searches 3 fields in 3 separate tables in a MySQL db, and I'm getting an 'undefined index' error, but only in the first section (first table)of the results. The undefined index is tied to the docs.projID in the "if ($row_search == 1)". This if statement is there to control to format of the link as pages are in different depths of subfolders depending on security needs. Googling this sort of error...
45
4858
by: VK | last post by:
(see the post by ASM in the original thread; can be seen at <http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/3716384d8bfa1b0b> as an option) As that is not in relevance to "new Array() vs " question or to the array performance, I dared to move it to a new thread. Gecko takes undefined value strictly as per Book 4, Chapter 3, Song 9 of Books of ECMA :-)
8
4400
by: Brad Pears | last post by:
I have a quick question... We have ASP ver 1.1 on our Win2K3 server. We are installing Sharepoint which requires the .net framework ver 3.0 and ASP 2.0. No problems getting the .net framework 3.0 but I CAN NOT find ASP ver 2.0 anywhere!! Is it bundled in some other download? I checked MS download site and version 2.0 is not there as a download - although there are tons of references to ASP ver 2.0 stuff... What gives?? Does anyone...
1
1474
by: thulaseeram | last post by:
hi, i am using the following code for uploading <div id="iframe" name="iframe" style="width:850px; height:120px;"> <iframe name="attach_frame" id="attach_frame" src="http://100.100.100.233/storyclix/upload.php" style="width:850px; height:120px;" frameborder="0"></iframe> </div> <div class="form-item" name="_Confirm_buttons" id="_Confirm_buttons"> <input type="button" value="Add media" class="form-submit"...
12
5680
by: Franz Hose | last post by:
the following program, when compiled with gcc and '-std=c99', gcc says test.c:6: error: jump into scope of identifier with variably modified type that is, it does not even compile. lcc-win32, on the other hand, reports Warning test.c: 7 unreachable code
23
4838
by: raashid bhatt | last post by:
what is restrict keyword used for? eg int *restrict p;
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10043
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.