I have a news slideshow that was built in JavaScript for Joomla.  It works fine in Firefox, Chrome, and etc.  However, after two news segments in Internet Explorer it freezes for a long time.  Here is a link to the site: www.urbanclaim.com  How can I...
I can't create a working example, but the code is simple.    Configuration  IDE: Visual studio 2017  Target platform: Windows x64  System: Win 10  My project: Javascript // Blank App (Apache Cordova) // ver. 6.3.1    HTML // index.html  <!DOCT...
Everytime i open a javascript file and the editor opens up, my ram jumps until my computer runs out.  I disabled all 3rd party extensions and cleared my nuget cache, and restarted my computer.  Anyone have any pointers as to what might be happening?...
I have a web page that loads large amount of entries through a promise call in AngularJS. The promise is resolved to an array that contains at least 4,000 entries (JSON object). When the data comes in from remote service, the web page freezes for 5 -...
I am having a bottleneck with my sort() functions, something like:  list.sort(function (a,b) {return (a.value - b.value);});   that freezes the browser for a couple of seconds.   For the same situation with a loop it is recommended to use a "time...
When I use the below code:  if(string.match(/td>0/g).length == 8) {     /*Do something*/ }   and no /td>0/ are matched, it returns a null result that prevents the script below from executing.  I would like to know why the code is freezing, and...
In JavaScript, arrays are objects and objects can be frozen, so I guess this can be done?  const frozenArr = Object.freeze([1, 2, 3, 4, 5])   thus  //frozenArr.push(6) //does not work, "Cannot add property 5, object is not extensible..."   Ho...
I met trouble with a script I have done, this script should allocate an amount to different fields.  In fact here is the script, I will give you after the jsfiddle.   <script type="text/javascript"> function getItems()  {  var items = n...
I'm trying to make a function that generates duplicated css properties for HTML class use. The function works in three steps.   Create the object with:       var obj = new module('prefix', 'suffix');    Add a couple of properties:...
I have a javascript game and it gives alert "Game Over!" when the game over condition is met, which is a distance being greater than another distance. The distance grows more and more so the condition is met again and again and the browser as...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.