Jump to content

slow array (10 items on it)


itazev

Recommended Posts

Hey everyone!

 

I am coding javascript with arrays in a way that a pop up window controls the array items on the parent window

it works but gets slower to add an item to the array as it get more and more items on it. I mean 10 items on the array will bother the user  ::)

 

pop up window manipulating the parent's array:

window.opener.ArrUn[ index ] = document.list.un.value;
window.opener.ArrDescID[ index ] = selectedID;
window.opener.ArrDesc[ index ] = selectedText;
window.opener.display(1);

 

on IE it seems to be slightly faster the FF

 

appreciate any help!

Link to comment
https://forums.phpfreaks.com/topic/50243-slow-array-10-items-on-it/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.