The method of WIN7/WIN8 system debugging IE11 Browser JS script

Source: Internet
Author: User

1 First look at the current IE11 some JS compatibility problems.

2) Second, to confirm the system information of the Notebook

3 Login to our system (for information security, the picture is easy to handle)

4 in the IE11 default mode, the mouse click any button is no effect, such as the figure click the log query and then click Device Management, you can see that the page is not responding to events. At this point we need to activate the compatibility mode under IE11 to browse this page.

Access to IE11 compatibility mode

1 in the IE11 page, press F12 to open a new developer tool. On the left to find the simulation function, which set the document mode and the user string is changed to IE7 mode, so that entered the browser compatibility mode, and then back to the page just click the Log Query button can see the following has been responding to the JS event.

Now find the JS script in the page we need to debug

1 Open the page we need to debug and use the selection element button in the DOM Explorer in the Developer tool to select our document location.

2 in the DOM Explorer to find our JS script location, because it is open in the DOM Explorer, so here can only see the operation, we open the JS is the text of the way presented.

Through the above step, if you can locate our JS code has been determined to be able to debug debugging JS.

1 Open the debugger features in the developer tool.

2 Click on the top left corner of the folder icon to find our JS code

So far, our IE11 browser can help us debug the JS code.

There is another way to debug a JS script

Is the use of non ie, but using the IE core browser, such as 360 Speed browser.

In compatibility mode, F12 into the developer tools, we will see the familiar picture.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.