0
工作,我有這樣的功能:。點擊()不PhoneGap的
$scope.launchSelectImg = function() {
document.getElementById("fileElem").click();
};
的.click()
不PhoneGap的火了我的Android設備上。在瀏覽器中工作得很好。
有什麼建議嗎?
工作,我有這樣的功能:。點擊()不PhoneGap的
$scope.launchSelectImg = function() {
document.getElementById("fileElem").click();
};
的.click()
不PhoneGap的火了我的Android設備上。在瀏覽器中工作得很好。
有什麼建議嗎?
可能,這將幫助..
$("#fileElem").live("click", function()
{
alert("success");
});
你'的onload = 「的init();」'您''
標籤? – Popnoodles我不知道。這會對這種情況做什麼?爲什麼?只是好奇,我想了解這一點。 –
我不知道。我用谷歌和發現這個http://stackoverflow.com/questions/11659562/phonegap-does-not-trigger-jquery-click-event – Popnoodles