Note that there are some explanatory texts on larger screens.

plurals
  1. PODisable caching issue in jQuery for Internet Explorer 8
    primarykey
    data
    text
    <p>I am unable to view new search results as they are updated in the database. Only using Internet Explorer 8. I tried refreshing the page but that does nothing. Chrome and Firefox work fine. </p> <p>I am able to temporarily resolve this issue by choosing "Check for new versions of the stored page : Every time I visit the webpage". However, as I move this into production this means it won't work for end users using IE 8 9 or 10. </p> <p>Any helpful tips are appreciated. Thanks in Advance. </p> <p>Here is what I have already tried:</p> <pre><code>&lt;script&gt; type=“text/javascript" src="js/jquery-1.9.1.min.js?new=yes"&gt;&lt;/script&gt; $(document).ready(function () { //http://stackoverflow.com/questions/217957/how-to-print-debug-messages-in-the-google-chrome-javascript-console/2757552#2757552 if (!window.console) console = {}; console.log = console.log || function () {}; console.dir = console.dir || function () {}; //listen for keyup on the field $("#searchField").keyup(function () { //get and trim the value var field = $(this).val(); field = $.trim(field) //if blank, nuke results and leave early if (field == "") { $("#results").html(""); return; } console.log("searching for " + field); $.getJSON("cfc/test.cfc?returnformat=json&amp;method=search", { "search": field }, function (res, code) { var s = "&lt;table width='1000' class='gridtable' name='table1' border='1'&gt;&lt;tr&gt;&lt;th width='40'&gt;Attuid&lt;/th&gt;&lt;th width='80'&gt;Device&lt;/th&gt;&lt;th width='55'&gt;Region&lt;/th&gt;&lt;th width='140'&gt;Problem&lt;/th&gt;&lt;th width='160'&gt;Description&lt;/th&gt;&lt;th width='120'&gt;Resolution&lt;/th&gt; &lt;th width='180'&gt;Resolution Description&lt;/th&gt;&lt;th width='40'&gt;Agent&lt;/th&gt;&lt;th width='140'&gt;Timestamp&lt;/th&gt;&lt;/tr&gt;"; s += ""; for (var i = 0; i &lt; res.table_demo.length; i++) { s += "&lt;tr&gt;&lt;td width='42'&gt;" + res.table_demo[i].pa_uid + "&lt;/td&gt;&lt;td width='80'&gt;" + res.table_demo[i].pa_device + "&lt;/td&gt;&lt;td width='55'&gt;" + res.table_demo[i].pa_region + "&lt;/td&gt;&lt;td width='140'&gt; " + res.table_demo[i].pa_problem + "&lt;/td&gt;&lt;td width='160'&gt; " + res.table_demo[i].pa_description + "&lt;/td&gt;&lt;td width='120'&gt;" + res.table_demo[i].pa_resolution + "&lt;/td&gt;&lt;td width='180'&gt;" + res.table_demo[i].pa_rdescription + "&lt;/td&gt;&lt;td width='42'&gt; " + res.table_demo[i].pa_agent + "&lt;/td&gt;&lt;td width='140'&gt; TimeStamp" "&lt;/td&gt;"; s += "&lt;/tr&gt;"; } s += "&lt;/table&gt;"; $("#results").html(s); }); }); }) </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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