• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JavaScript not fully loading on mobile for [Client Site URL]

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

I’m having an issue with JavaScript on my client’s site. The site works fine on desktop, but on mobile devices, certain elements like buttons and dropdowns are either unresponsive or slow to load.

Key issues:

JS Functions not Executing: Some scripts (like document.querySelector) seem to fail on mobile.
Third-Party Scripts: We’re using libraries via CDN (like jQuery). Could there be a version conflict affecting mobile?
Lazy Loading/Media Queries: Could hiding/showing elements based on viewport be causing conflicts with JS?
No major console errors, but I’m stuck. Any tips on why JS might behave differently on mobile?

Thanks!

 
And then the flying monkeys attacked. My only defense was this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic