Hi all, this is my first message here so apologies if I'm breaking protocol!
I have posted some code at <a href="http://paste2.org/p/7819"> http://paste2.org/p/7819</a> Basically the above code gets executed when the user clicks on a button and its purpose is to refresh a secondary content area which is a long list of select boxes (90?). It refreshes the select boxes based on some previously retrieved JSON data ('slotData'). My issue is that is takes a while (2.5 secs) to run this routine which is a bit of a pain from a user experience point of view. Yes I can put "please wait..." etc but I'd like first to trim this time down as much as possible. I was hoping someone might be able to spot where I'm going wrong as far as coding/performance is concerned. It gives me these kind of speeds on IE7, IE6, FF2. Oddly enough Safari on Windows runs lightning fast! I realise that lines 19 to 23 don't really need to be in the nest sub routine but moving them outside doesn't change much. Any thoughts (however general) gratefully appreciated. Joel Hughes