Tag:ie

  • Solution of ie cache related problems of Ajax

    Time:2021-10-8

    A name check is made using Ajax. It is valid for the first time, but after submission, check it again, and the result is wrong. It is due to the cache of IE. Copy codeThe code is as follows: function verify() { $.ajax({ //issue for IE cache; timestamp=” + new Date().getTime() url:”checkGroupName?timestamp=” + new Date().getTime(), […]

  • Problems caused by ie cache caching

    Time:2021-8-6

    I used to write some things with the multilingual function of struts, using the object of locale (I won’t talk about how to do it. I don’t want to talk about struts here).There is no problem in the local test. The switching between Chinese and English is OK. I tried it on the remote server […]

  • The difference between using test in Firefox and IE

    Time:2021-7-27

    Copy codeThe code is as follows: <script language=”javascript” type=”text/javascript”> function fun(){ document.write(/a/gi.test(“a”)); } fun() fun() </script> The execution result in IE is: truetrueThe execution result in Firefox is: true falseIn regular / expression / GI, G means global, and I means case insensitive.Generally, the global attribute is true, which is not good for test application. […]

  • Using vbs script to set IE’s printing header and footers

    Time:2021-7-2

    Save the following content as a. VBS file, then double-click to execute, open the IE page, right-click in the page to see what’s more in the menu!:)        Copy codeThe code is as follows: option explicit      dim hkey_root,hkey_path,hkey_key,filepath      dim fs,fso,regwsh      hkey_root=”hkey_current_user”      hkey_path=”\software\microsoft\internet explorer”      // Create a file first      set fs=wscript.createobject(“scripting.filesystemobject”)      filepath=”c:\pagesetup_default.htm”      set fso=fs.createtextfile(filepath,true)      fso.write(“<script language=””vbscript””>”+vbcrlf _              +”dim hkey_root,hkey_path,hkey_key,filepath,regwsh” +vbcrlf _              +”hkey_root=””hkey_current_user””” +vbcrlf _              +”hkey_path=””\software\microsoft\internet explorer””” +vbcrlf _              +”filepath=””c:\pagesetup_null.htm””” +vbcrlf _              +”// Set […]

  • Discussion on Ajax under IE

    Time:2021-6-22

    When practicing JS today, I want to encapsulate an object that sends Ajax requests. Of course, I want to be compatible with all browsers. The code is as follows: Copy codeThe code is as follows: var Ajax = { xhr: null, callback: null, XMLHttp: function() { var xmlhttp; //Standard browserif(window.XMLHttpRequest) { try { xmlhttp = […]

  • The solution of IE sending Ajax request to return the last result

    Time:2021-6-17

    Causes of the problem: 1. Only one Ajax request will be created under ie, and the response result will be put in the browser cache, which will be read from the cache the next time the Ajax request is called In get mode, because the sending parameters and address are consistent, ie will get the […]

  • How to make space width consistent in IE and FF?

    Time:2021-6-4

    body{ font- size:12px;   Font family: “song style”;} If the font size is indicated in the body, the font can be unified. Set font: font family: Tahoma, Arial This is because the default fonts of FF and ie are different In FF, the default font should be Arial In IE Font family: Song typeface   […]

  • Finishing of IE filter

    Time:2021-6-2

    Ie is a headache for our previous development. It’s different. What others support, it doesn’t support, and it has something others don’t support. Today, let’s briefly introduce one of its features filter.   CSS filter is mainly used to achieve various special effects of the image. It plays a very magical role in website production. Through […]

  • About IE RegExp.exec The question of

    Time:2021-4-24

    The code is as follows: Copy codeThe code is as follows: var st=”A[B]C[D]E[F]G”; var reg =/\[\w\]/ig; var s1 = st.replace(reg,””); var s2=[]; var arr; while((arr=reg.exec(st))!=null)s2.push(arr[0]); alert(s1); alert(s2.join(“”)); FF is displayed correctly, and S2 is empty in ie Online information can not be found, please give me some advice I got an unexpected result during the […]

  • VBS open IE two ways to start IE browser in VBScript

    Time:2020-9-6

    The first method InternetExplorer.Application StartURL = “www.jb51.net” set IE = CreateObject(“InternetExplorer.Application”) IE.Visible = true IE.Navigate StartURL The second method WScript.Shell dim Wsh Set Wsh=WScript.CreateObject(“WScript.Shell”) On error Resume Next objeShell.Run(“http://www.baidu.com”) The following code is to automatically open Baidu and enter developeppaer search code Dim wsh,ie Set wsh = CreateObject(“wscript.shell”) Set ie = WScript.CreateObject(“InternetExplorer.Application”) URL=”http://www.baidu.com” code=”developpaer” ie.visible […]

  • How to deal with the problem of missing IE browser in win7 system

    Time:2020-7-3

    Recently, a win7 system user reported that the IE browser of the computer desktop was missing. The user rebooted the computer, and the result was the same. The user did not know how to solve this problem. So what should I do if the IE browser of win7 system was missing? Today, I would like […]

  • The common parameter arrangement of IE webpage pop-up window can be set by oneself

    Time:2020-6-30

    Pop up has nothing to do with whether your current window has a menu toolbar. You just need to write a script in the page and it will pop up Copy code The code is as follows: <a href=# onclick=” window.open () xxx.aspx ‘,’window name’,’parameter ‘); “> xxxxx</a> The following is a list of some […]