在使用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问题的报告,但似乎没有人找到解决办法吗?