This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Help with swipe up and down
#5
Use this. Since the loading is asynchronous any further code that relies on the remote script must be placed inside the callback function.
Code:
$(function() {
  $.getScript('path-to-script.js', function() {
    console.log('script loaded');
  });
});
Reply


Messages In This Thread
Help with swipe up and down - by pouralise - 01.04.2023, 11:26
RE: Help with swipe up and down - by admin - 03.04.2023, 06:56
RE: Help with swipe up and down - by admin - 03.04.2023, 08:54

Forum Jump: