在使用jCart 时,我注意到它在 iPhone 上不起作用。经过一些测试(并在jcart 论坛上与开发人员交谈)后,单击提交按钮时似乎无法调用提交处理程序:
$('form.jcart').submit(function(){...});
我尝试将其更改为:
$("form.jcart input[type='submit']").click(function(){...});
// There were some other code changes needed to make this change work,
// but they are omitted for brevity (they don't impact the problem).
这也行不通。我发现了其他关于 iPhone 上的 .submit/onsubmit 有问题的报告,但似乎没有人找到解决方法?