Home › Forums › JavaScript › Javascript is not running › Reply To: Javascript is not running
October 1, 2013 at 1:27 pm
#151841
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...
...
}
});