engelman
12-03-2002, 01:29 PM
Hello,
I’d appreciate any help anyone can offer on the following problem.
I have a JavaScript function that loads a city combo box with all cities in the state chosen in an associated state combo box. The function is about 825KB, and downloads very slowly. I’ve tried some of the publicly available JavaScript compressors, which only resulted in a small percentage file size reduction. I’ve also tried a JavaScript compiler, which did achieve a very high space reduction percentage, but unfortunately takes a long time to unpack once downloaded.
Does anyone have any ideas? I’m open to any alternative. Perhaps there are some very good JavaScript compressors or compilers that I’m unaware of. I’d appreciate any advice in this area.
Also, does anyone know if it’s possible to run machine code from MSIE? In theory, I could convert the JavaScript function to fully compiled machine code (such as Visual Basic). I don’t know if IE could run such code. I’d also appreciate any comments relative to this idea.
Thanks very much, Stewart Engelman
I’d appreciate any help anyone can offer on the following problem.
I have a JavaScript function that loads a city combo box with all cities in the state chosen in an associated state combo box. The function is about 825KB, and downloads very slowly. I’ve tried some of the publicly available JavaScript compressors, which only resulted in a small percentage file size reduction. I’ve also tried a JavaScript compiler, which did achieve a very high space reduction percentage, but unfortunately takes a long time to unpack once downloaded.
Does anyone have any ideas? I’m open to any alternative. Perhaps there are some very good JavaScript compressors or compilers that I’m unaware of. I’d appreciate any advice in this area.
Also, does anyone know if it’s possible to run machine code from MSIE? In theory, I could convert the JavaScript function to fully compiled machine code (such as Visual Basic). I don’t know if IE could run such code. I’d also appreciate any comments relative to this idea.
Thanks very much, Stewart Engelman