Note that there are some explanatory texts on larger screens.

plurals
  1. PORemove caching in Android using PhoneGap
    text
    copied!<p>I want to remove caching in Android. I am using PhoneGap technology. Actually everything is working fine in Blackberry or iOS, but there is problem in Android. In my app, there is an auto suggested list of station names. When the user selects station for the first time, it is fine, but when the user selects the same station next time, it shows the station name in big font (white background (single list different from my original station list), which I think is due to caching).</p> <p>I think this is due to Android using Chrome. Would you please suggest me how to remove this caching?</p> <pre><code>&lt;input id="getStationDesc" name="getStationDesc" type="text" class="log_txtfield" disabled="disabled"/&gt; &lt;script&gt; var obj = actb(document.getElementById('getStationDesc'),stationList); //setTimeout(function(){obj.actb_keywords = custom2;},10000); this.actb_timeOut = -1; // Number of elements autocomplete can show (-1: no limit) this.actb_lim = 10; // should the auto complete be limited to the beginning of keyword? this.actb_firstText = true; // Enable Mouse Support this.actb_mouse = true; // Delimiter for multiple autocomplete. // Set it to empty array for single autocomplete this.actb_delimiter = new Array(' ',','); // Show widget only after this number of characters is typed in. this.actb_startcheck = 1; this.actb_bgColor = '#dbe3ec'; this.actb_textColor = '#00256a'; this.actb_hColor = '#dbe3ec'; this.actb_fFamily = 'arial'; this.actb_fSize = '16px'; this.actb_hStyle = 'text-decoration:underline;font-weight="bold";text-align="left"'; function FillValues() { document.getElementById('getStationCode').value = document.getElementById('getStationDesc').value.substring(0,3); } &lt;/script&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload