Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Javascript is not running Reply To: Javascript is not running

#151841
Alen
Participant

No problem. Looking at how many scripts you’re loading… Try solving the issue by disabling scripts one by one and see if that helps. Also, you don’t need to call document ready so many times. You can remap jQuery to bang, $ sign.

(function($){
  $(document).ready(function (){
     /* window size code */
      $(element).stuff...
     /* expand */
      $(element).stuff...
     ...
  }
});