I have this function:
$scope.launchSelectImg = function() {
document.getElementById("fileElem").click();
};
The .click()
does not fire off in PhoneGap on my android device. Works just fine in the browser.
Any suggestions?
May be this will help..
$("#fileElem").live("click", function()
{
alert("success");
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.