473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

array declaration not working in firefox

40
Hi,
I Have the below declaration of an array
var latitude = []; which is working in IE but the same is not working in Mozilla.
i changed it to var latitude = new Array() ;
var latitude = new Array(10).But none is working .
Weird thing is it is hitting the server many times sort of infinite loop.If i remove the above declaration the page is at least displayed.
Aug 24 '10 #1
3 1815
Dormilich
8,658 Expert Mod 8TB
there seem to be some other issue than [], as this usually works in all browsers.
Aug 24 '10 #2
crs27
40
thanks for the quick reply,
i had more then 5 arrays , of which one was named location,
i renamed this to locationn.It worked.
Thank You So Much.
Aug 24 '10 #3
Dormilich
8,658 Expert Mod 8TB
yea, good ole reserved keywords (location = window.location = something completely different)
Aug 24 '10 #4

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

Similar topics

7
by: Arthur Sinko | last post by:
Hi, Is it possible to answer the following question: what is the difference between two declarations: vector<double> a(n); and double a;
3
by: b83503104 | last post by:
Hi, I wonder if this is a legal array declaration? const int size = 5; double array; Or should I use "new"? Thanks.
16
by: herbertF | last post by:
Hi guys, In a program (not my own) I encountered the declaration of a constant pointer to an array consisting of two other const pointers to arrays. Not quite sure why they do it so complicated,...
4
by: Annoyed Programmer | last post by:
Maybe this question has been addressed before, but I just stumbled with the issue so I'll post it here. Since I can remember array declaration in any language I've worked(Basic/VB/VB.NET/C/C++)...
3
by: TJS | last post by:
I am finding that the serverside requiredvalidator doesn't fire in the firefox browser, and user request proceeds through to my updateProfile method. Validation is working correctly in the IE...
4
by: Shapper | last post by:
Hello, I have this array: Dim myArray() As String = {"A", "B", "C", "D", "E", "F"} However I need to declare the array and assign the values in different places of my code so I have: Dim...
4
by: Alan Foxmore | last post by:
Hi everyone, I'm new to C# and I was hoping I could get some clarification on the syntax for jagged and multidimensional arrays. Here is my question: The following syntax is correct for...
21
by: vito | last post by:
how to achieve that? it seems php doesn't support it well for a C programmer? i hope to use something like: a; a; a;
3
by: mithrakaran | last post by:
hai i am mithra. i have one doubt in c Array declaration. <CODE> #include<stdio.h> main() { int a;int i; for(i=0;i<20;i++) { scanf("%d",&a);
4
by: james_027 | last post by:
hi, There is something that I don't understand well, I use array for combining strings like items = .join(''); in FF this works well but in IE I had to add something like this var items...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...

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.