Reload functions.js
-
Hi,
I want reload this js
scriptNode = document.createElement(‘script’);
contentNode.appendChild(scriptNode);
scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/themes/twentytwelve/js/functions.js’);i add on the code above the $body.removeClass(‘loading’);
But it seem look not reload the js after ajaxify.
May i know which part go wrong?
Thank you.
The topic ‘Reload functions.js’ is closed to new replies.