2010-01-03 55 views
6

雖然使用jCart我注意到它不適用於iPhone。一些測試(與上jcart forum開發商來說)之後它似乎無法調用提交處理程序點擊提交按鈕時:OnSubmit與移動Safari

$('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有問題,但似乎沒有人找到解決方法?

+0

也許嘗試從提交按鈕,改變類型? – 2010-01-04 09:55:07

+0

請張貼您的表格標記 – slf 2010-01-05 16:58:00

回答