0
我一直在試圖讓短信應用程序在我的三星加載問題上點擊事件函數
注4,我使用來測試我的應用程序中使用
英特爾XDK開發ide(科爾多瓦應用)。下面是點擊事件,我
上午使用,不按預期工作。
//.numbers class element is created dynamically
$(document).on("click",".numbers a",function(e){
//stop link from refreshing
e.preventDefault();
//the alert below will work when uncommented
//alert("event works");
//The function call below will not work.
//note I am using a real number in my app
//and it will work if I call if from another button on click event
intel.xdk.device.sendSMS("hello","8161234567");
});
謝謝你, 拉里Ĵ巷