View Full Version : question about javascript arrays

02-10-2012, 06:40 AM
Is there some type of general rule as to how big or large they can be?

Also can they have multiple parts or sections?

The reason I ask is that I am thinking of trying to do my own search form using many different search engines.

As you probaly know they can have many input names and id's as well as hidden names and id's.

I presume some will need a name the search engine action url and the input stuff mentioned above for each to work.

Could a array do all of this or would there be a need for more then one array.

02-10-2012, 06:48 AM
There shouldn't be any limit. Of course you shouldn't make them too huge because they might overload the computer (whatever RAM and/or processor limits there are), but that would take a lot just from arrays.

You can make one item inside the array another array-- you can embed them. That's called a multidimensional array. There are no restrictions with this either.