Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道为什么jQuery $(window).load(function() { alert("Hello!"); });在 iPad 和 iPhone 上不触发?
jQuery $(window).load(function() { alert("Hello!"); });
不知道为什么有问题
但改为
jQuery(document).ready(function () {alert('Hello!');});
为我做了伎俩。