1

I have a phonegap application with a bunch of input boxes, somehow when a touch the "next" button in a field, the next field is cleared on focus (Supose it was previously filled with some text).

Does the focus event trigger any other event that I'm not aware of? Is this a common behavior? any suggestion?

4

1 回答 1

0

我认为下面的代码可以解决您的问题。

$(document).bind("mobileinit", function() {
    $.mobile.page.prototype.options.domCache = true;
});
于 2012-12-28T12:25:41.193 回答