1var Imagestyleresult =NewExt.form.FieldSet ({2Title: ' Preview ',3height:100,4 items:[5 {6ID: ' Showfraction ',7Xtype: ' Box ',//or Xtype: ' Component ',8 Autoel: {9Tag: ' img 'Ten } One } A ] - -});
Q1: Will the placeholder appear when IE is open?
A1: Give box img src a default blank image.
Q2: OK to open the page the first time, open again still show placeholder?
A2:js Clear Cache, JSP add:
1 <meta http-equiv= "Expires" content= "0" >2 <meta http-equiv= "Cache-control" content= " No-cache ">3 <meta http-equiv=" Pragma "content=" No-cache ">
or Ajax Clear Cache
1 $.ajax ({ 2 type: "GET" URL:" insertsurfaceroughnessword.js " dataType:" Text " 5 Beforesend:function (xmlHttp) { 6 Xmlhttp.setrequestheader ("If-modified-since", "0" 7 xmlhttp.setrequestheader ("Cache-control", "No-cache" ); 8 9 }
10 });
I only added the first one! Recording
ExtJS box img SRC Show placeholder when open with IE