Very simple jQuery doesn’t work in Safari for iPhone and iPod touch. I make a simplified case:
$(function(){
$("#boto").click(function() {
$("#boto2").fadeOut("slow");
});
})
http://www.mig-marketing.com/proves2/3.html
It works in computers, it works in iPad but not in my iPod touch. I’m so surprised, I don’t understand. Does jQuery needs anything special for Safari in iPhone?
I found out that the only problem is with the hosted jQuery library from Google. I don’t understand why my iPod touch can download the page but not the jQuery library. I don’t know if it is a problem in all iPhones and iPod touch…
Anyway If I download the jQuery library, it works fine. And of course the click function works in the iPhone.